# # 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; $<$:${PXSHARED_ANDROID_DEBUG_COMPILE_DEFS};> $<$:${PXSHARED_ANDROID_CHECKED_COMPILE_DEFS};> $<$:${PXSHARED_ANDROID_PROFILE_COMPILE_DEFS};> $<$:${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)