structure changes
This commit is contained in:
22
src/common/CMakeLists.txt
Normal file
22
src/common/CMakeLists.txt
Normal file
@ -0,0 +1,22 @@
|
||||
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
|
||||
)
|
||||
|
||||
target_link_libraries(common
|
||||
enet
|
||||
)
|
||||
|
||||
if (WIN32)
|
||||
target_link_libraries(common ws2_32 winmm)
|
||||
endif(WIN32)
|
Reference in New Issue
Block a user