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