- 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:
beegee1 committed 2014-02-01 13:37:26 +00:00
1 parent be3bd35b95
commit df0a28d9cb
12 files changed
+44 -1

No files matched your search

+4
View File
@@ -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()