blob: f5dce60d6b83d10bafd6ff75c5499f096e4385b4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#
# Build PsFastXml
#
SET(PXSHARED_SOURCE_DIR ${PROJECT_SOURCE_DIR}/../../../../src)
SET(LL_SOURCE_DIR ${PXSHARED_SOURCE_DIR}/fastxml)
# Use generator expressions to set config specific preprocessor definitions
SET(PSFASTXML_COMPILE_DEFS
# Common to all configurations
${PXSHARED_ANDROID_COMPILE_DEFS};PX_FOUNDATION_DLL=0;PxShared_STATIC_LIB;
$<$<CONFIG:debug>:${PXSHARED_ANDROID_DEBUG_COMPILE_DEFS};>
$<$<CONFIG:checked>:${PXSHARED_ANDROID_CHECKED_COMPILE_DEFS};>
$<$<CONFIG:profile>:${PXSHARED_ANDROID_PROFILE_COMPILE_DEFS};>
$<$<CONFIG:release>:${PXSHARED_ANDROID_RELEASE_COMPILE_DEFS};>
)
# include PsFastXml common
INCLUDE(../common/PsFastXml.cmake)
# enable -fPIC so we can link static libs with the editor
SET_TARGET_PROPERTIES(PsFastXml PROPERTIES POSITION_INDEPENDENT_CODE TRUE)
|