gremlin/src/common/CMakeLists.txt

23 lines
423 B
CMake

include_directories (${GREMLIN_SOURCE_DIR}/libs/enet/include)
include_directories (${GREMLIN_SOURCE_DIR}/src)
add_library( common
Application
Game
Time
Network
Config
)
add_dependencies( common
enet pugixml bullet trimeshloader yaml-cpp
)
target_link_libraries(common
enet pugixml bullet trimeshloader yaml-cpp
)
if (WIN32)
target_link_libraries(common ws2_32 winmm)
endif(WIN32)