mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-10 09:50:17 +02:00
95034b9fa0
- Fixed compilation error (VCAI ResourceSet logging)
20 lines
466 B
CMake
20 lines
466 B
CMake
project(vcmiERM)
|
|
cmake_minimum_required(VERSION 2.6)
|
|
|
|
include_directories(${CMAKE_HOME_DIRECTORY} ${CMAKE_CURRENT_SOURCE_DIRECTORY})
|
|
|
|
set(lib_SRCS
|
|
StdInc.cpp
|
|
ERMParser.cpp
|
|
ERMInterpreter.cpp
|
|
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})
|