1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00
vcmi/scripting/erm/CMakeLists.txt

20 lines
466 B
CMake
Raw Normal View History

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
StdInc.cpp
2012-07-01 17:27:41 +03:00
ERMParser.cpp
ERMInterpreter.cpp
2012-07-01 17:27:41 +03:00
ERMScriptModule.cpp
)
add_library(vcmiERM SHARED ${lib_SRCS})
target_link_libraries(vcmiERM ${Boost_LIBRARIES})
set_target_properties(vcmiERM PROPERTIES ${PCH_PROPERTIES})
cotire(vcmiERM)
install(TARGETS vcmiERM DESTINATION ${SCRIPTING_LIB_DIR})