2012-07-15 16:05:41 +00:00
|
|
|
project(vcmiERM)
|
2012-07-01 14:27:41 +00:00
|
|
|
cmake_minimum_required(VERSION 2.6)
|
|
|
|
|
|
|
|
include_directories(${CMAKE_HOME_DIRECTORY} ${CMAKE_CURRENT_SOURCE_DIRECTORY})
|
|
|
|
|
|
|
|
set(lib_SRCS
|
2014-02-05 20:25:36 +00:00
|
|
|
StdInc.cpp
|
2012-07-01 14:27:41 +00:00
|
|
|
ERMParser.cpp
|
2013-11-03 12:07:23 +00:00
|
|
|
ERMInterpreter.cpp
|
2012-07-01 14:27:41 +00:00
|
|
|
ERMScriptModule.cpp
|
|
|
|
)
|
|
|
|
|
2012-07-15 16:05:41 +00:00
|
|
|
add_library(vcmiERM SHARED ${lib_SRCS})
|
|
|
|
target_link_libraries(vcmiERM ${Boost_LIBRARIES})
|
2014-02-05 20:25:36 +00:00
|
|
|
|
|
|
|
set_target_properties(vcmiERM PROPERTIES ${PCH_PROPERTIES})
|
2014-02-01 13:37:26 +00:00
|
|
|
cotire(vcmiERM)
|
2012-10-05 12:38:17 +00:00
|
|
|
|
|
|
|
install(TARGETS vcmiERM DESTINATION ${SCRIPTING_LIB_DIR})
|