2010-05-06 00:08:41 +00:00
|
|
|
FILE(GLOB SRC *.cpp *.h)
|
|
|
|
|
2010-09-20 19:40:20 +00:00
|
|
|
ADD_EXECUTABLE(snowballs_client WIN32 ${SRC})
|
2010-05-06 00:08:41 +00:00
|
|
|
|
2010-09-20 19:40:20 +00:00
|
|
|
TARGET_LINK_LIBRARIES(snowballs_client
|
|
|
|
nelmisc
|
|
|
|
nelpacs
|
|
|
|
nelnet
|
|
|
|
nel3d)
|
|
|
|
|
|
|
|
NL_DEFAULT_PROPS(snowballs_client "Snowballs, Client: Snowballs Client")
|
|
|
|
NL_ADD_RUNTIME_FLAGS(snowballs_client)
|
2010-05-06 00:08:41 +00:00
|
|
|
|
|
|
|
# If sound is enabled then add the definitions and link the libraries.
|
|
|
|
IF(ENABLE_SOUND)
|
|
|
|
ADD_DEFINITIONS(-DSBCLIENT_WITH_SOUND)
|
2010-09-20 19:40:20 +00:00
|
|
|
TARGET_LINK_LIBRARIES(snowballs_client ${NELSOUND_LIBRARY})
|
2010-05-06 00:08:41 +00:00
|
|
|
ENDIF(ENABLE_SOUND)
|
|
|
|
|
2010-09-20 19:40:20 +00:00
|
|
|
INSTALL(TARGETS snowballs_client RUNTIME DESTINATION bin COMPONENT snowballsclient)
|