You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
564 B
CMake
21 lines
564 B
CMake
13 years ago
|
FILE(GLOB SRC *.cpp *.h)
|
||
|
|
||
|
ADD_EXECUTABLE(snowballs_client WIN32 ${SRC})
|
||
|
|
||
|
TARGET_LINK_LIBRARIES(snowballs_client
|
||
|
nelmisc
|
||
|
nelpacs
|
||
|
nelnet
|
||
|
nel3d)
|
||
|
|
||
|
NL_DEFAULT_PROPS(snowballs_client "Snowballs, Client: Snowballs Client")
|
||
|
NL_ADD_RUNTIME_FLAGS(snowballs_client)
|
||
|
|
||
|
# If sound is enabled then add the definitions and link the libraries.
|
||
6 years ago
|
IF(WITH_SOUND)
|
||
13 years ago
|
ADD_DEFINITIONS(-DSBCLIENT_WITH_SOUND)
|
||
6 years ago
|
TARGET_LINK_LIBRARIES(snowballs_client nelsound)
|
||
8 years ago
|
ENDIF()
|
||
13 years ago
|
|
||
13 years ago
|
INSTALL(TARGETS snowballs_client RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT snowballsclient)
|