- added PCH compilation for CMake using cotire module (PCH is OFF per default, can be enabled with ENABLE_PCH=ON)
This commit is contained in:
1 parent
be3bd35b95
commit
df0a28d9cb
12 files changed
+44
-1
No files matched your search
@@ -11,6 +11,10 @@ set(battleAI_SRCS
|
||||
add_library(BattleAI SHARED ${battleAI_SRCS})
|
||||
target_link_libraries(BattleAI vcmi)
|
||||
|
||||
if(COMMAND cotire)
|
||||
cotire(BattleAI)
|
||||
endif()
|
||||
|
||||
if (NOT APPLE) # Already inside vcmiclient bundle
|
||||
install(TARGETS BattleAI DESTINATION ${AI_LIB_DIR})
|
||||
endif()
|
||||
|
||||
Reference in new issue
Block a user