mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-29 23:26:00 +00:00
19e8ee1d05
--HG-- branch : develop
20 lines
577 B
CMake
20 lines
577 B
CMake
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})
|
|
ENDIF()
|
|
|
|
INSTALL(TARGETS snowballs_client RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT snowballsclient)
|