structure changes
This commit is contained in:
parent
3f00ee4f31
commit
caeca7b66e
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)
|
15
src/server/CMakeLists.txt
Normal file
15
src/server/CMakeLists.txt
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
include_directories (${GREMLIN_SOURCE_DIR}/src/common)
|
||||||
|
|
||||||
|
# define executable
|
||||||
|
add_executable( gremlin_dedicated
|
||||||
|
server
|
||||||
|
)
|
||||||
|
|
||||||
|
add_dependencies( gremlin_dedicated
|
||||||
|
common
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
target_link_libraries(gremlin_dedicated
|
||||||
|
common
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user