project(vcmiERM) cmake_minimum_required(VERSION 2.6) include_directories(${CMAKE_HOME_DIRECTORY} ${CMAKE_HOME_DIRECTORY}/include ${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})