This website works better with JavaScript.
Explore
Help
Sign In
mirror
/
devilutionX
mirror of
https://github.com/diasurgical/devilutionX.git
Watch
1
Star
0
Fork
You've already forked devilutionX
0
Code
Issues
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10710
Commits
43
Branches
22
Tags
293 MiB
Branch:
cpp20-using-enum
1.3
1.4
1.5
AJenbo-patch-1
FindSlotUnderCursor
LineClear
LineClear-test
M_RoundWalk
access
amiga-fix
codeql
cpp20-using-enum
dev-app-icon
development
dun-data2
dyn-players
dyn-players-param
dyn-players-param2
fabiensanglard
fix-spectral-hack
glebm-patch-1
hubui
install
inv
julealgon/Enhancements/DamageStruct
master
maxexp
mpqfs
mutiny
next
player-max
ps2
psp
render
substitution
surface-to-cel
test
v1.0
w98-profile
wii
xad
xbrz
yuripourre-enhance-description
0.1.0
0.2.0
0.3.0
0.3.1
0.4.0
0.5.0
1.0.0
1.0.1
1.0.2
1.0.3
1.1.0
1.2.0
1.2.1
1.3.0
1.4.0
1.4.1
1.5.0
1.5.1
1.5.2
1.5.3
1.5.4
1.5.5
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'cpp20-using-enum'
${ noResults }
devilutionX
/
3rdParty
/
PKWare
/
CMakeLists.txt
5 lines
103 B
Raw
Permalink
Normal View
History
Unescape
Escape
Overhaul dependency options Changes how dependency options are handled and moves them out of `CMakeLists.txt`. Major changes: 1. The static default now takes `TARGET_SUPPORTS_SHARED_LIBS` into account 2. The `DIST` setting no longer affects the static default. 3. The static option is now visible for system dependencies as well. (it was previously hidden by `cmake_dependent_option`). 4. The auto-detection mechanism for `libfmt` and `SDL_image` only applies if the setting has not been set. 5. SDL2 on Android is now also linked statically, resulting in a 1.1 MiB smaller APK. When using non-system dependencies, the default should always be static, as there are 2 main use cases for these: 1. Dependencies that we must currently vendor because our forks have significant changes that are not yet merged/released upstream. 2. Platforms that have no system packages, such as Android and iOS. In both cases, static linking is the most appropriate default.
4 years ago
add_library
(
PKWare
STATIC
e
x
p
l
o
d
e
.
c
p
p
i
m
p
l
o
d
e
.
c
p
p
)
target_include_directories
(
PKWare
PUBLIC
.
)