2010-05-06 02:08:41 +02:00
|
|
|
ADD_EXECUTABLE(nl_sample_chatclient client.cpp kbhit.cpp kbhit.h)
|
|
|
|
|
2010-08-30 17:14:48 +02:00
|
|
|
ADD_EXECUTABLE(nl_sample_chatserver WIN32 server.cpp)
|
2010-05-06 02:08:41 +02:00
|
|
|
|
|
|
|
ADD_DEFINITIONS(-DCHAT_DIR="\\"${NL_SHARE_PREFIX}/nl_sample_chat/\\"")
|
|
|
|
|
2010-09-29 23:52:28 +02:00
|
|
|
TARGET_LINK_LIBRARIES(nl_sample_chatclient nelmisc nelnet)
|
2010-09-03 09:45:59 -06:00
|
|
|
NL_DEFAULT_PROPS(nl_sample_chatclient "NeL, Samples, Net, Chat: Chat Client")
|
2010-08-30 17:14:48 +02:00
|
|
|
NL_ADD_RUNTIME_FLAGS(nl_sample_chatclient)
|
|
|
|
|
2010-09-29 23:52:28 +02:00
|
|
|
TARGET_LINK_LIBRARIES(nl_sample_chatserver nelmisc nelnet)
|
2010-09-03 08:02:04 -06:00
|
|
|
NL_DEFAULT_PROPS(nl_sample_chatserver "NeL, Samples, Net, Chat: Chat Server")
|
2010-08-30 17:14:48 +02:00
|
|
|
NL_ADD_RUNTIME_FLAGS(nl_sample_chatserver)
|
2010-05-06 02:08:41 +02:00
|
|
|
|
|
|
|
INSTALL(TARGETS nl_sample_chatclient nl_sample_chatserver RUNTIME DESTINATION bin COMPONENT samplesnet)
|
|
|
|
INSTALL(FILES chat_service.cfg client.cfg DESTINATION share/nel/nl_sample_chat COMPONENT samplesnet)
|