1 ADD_DEFINITIONS(-DGEM_BUILD_DLL)
3 FILE(GLOB gemrb_core_LIB_SRCS "*.cpp"
6 GameScript/GameScript.cpp
7 GameScript/Matching.cpp
9 GameScript/Triggers.cpp
23 GUI/WorldMapControl.cpp
25 Scriptable/ActorBlock.cpp
26 Scriptable/PCStatStruct.cpp
27 System/CachedFileStream.cpp
30 System/MemoryStream.cpp
36 ADD_LIBRARY(gemrb_core STATIC ${gemrb_core_LIB_SRCS})
38 ADD_LIBRARY(gemrb_core SHARED ${gemrb_core_LIB_SRCS})
40 INSTALL(TARGETS gemrb_core RUNTIME DESTINATION ${LIB_DIR})
42 INSTALL(TARGETS gemrb_core LIBRARY DESTINATION ${LIB_DIR})
46 SET_TARGET_PROPERTIES(gemrb_core PROPERTIES
48 "PLUGINDIR=\"${PLUGIN_DIR}\";DATADIR=\"${DATA_DIR}\";SYSCONFDIR=\"${SYSCONF_DIR}\""