2012-05-29 13:31:11 +00:00
|
|
|
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.
|
|
|
|
IF(ENABLE_SOUND)
|
|
|
|
ADD_DEFINITIONS(-DSBCLIENT_WITH_SOUND)
|
|
|
|
TARGET_LINK_LIBRARIES(snowballs_client ${NELSOUND_LIBRARY})
|
2016-10-27 08:54:09 +00:00
|
|
|
ENDIF()
|
2012-05-29 13:31:11 +00:00
|
|
|
|
2012-09-27 20:17:47 +00:00
|
|
|
INSTALL(TARGETS snowballs_client RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT snowballsclient)
|