22 lines
414 B
CMake
22 lines
414 B
CMake
include_directories (${GREMLIN_SOURCE_DIR}/libs/enet/include)
|
|
include_directories (${GREMLIN_SOURCE_DIR}/src)
|
|
|
|
add_library( common
|
|
Application
|
|
Game
|
|
Time
|
|
Network
|
|
)
|
|
|
|
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)
|