ADD_EXECUTABLE(nl_sample_net_layer3_client client.cpp) ADD_EXECUTABLE(nl_sample_net_layer3_fes WIN32 frontend_service.cpp) ADD_EXECUTABLE(nl_sample_net_layer3_ps WIN32 ping_service.cpp) ADD_DEFINITIONS(-DNL_LS_CFG="${NL_SHARE_ABSOLUTE_PREFIX}/nl_sample_net_layer3/") TARGET_LINK_LIBRARIES(nl_sample_net_layer3_client nelmisc nelnet) NL_DEFAULT_PROPS(nl_sample_net_layer3_client "NeL, Samples, Net, Net Layer 3: L3 Client") NL_ADD_RUNTIME_FLAGS(nl_sample_net_layer3_client) TARGET_LINK_LIBRARIES(nl_sample_net_layer3_fes nelmisc nelnet) NL_DEFAULT_PROPS(nl_sample_net_layer3_fes "NeL, Samples, Net, Net Layer3: L3 Frontend") NL_ADD_RUNTIME_FLAGS(nl_sample_net_layer3_fes) TARGET_LINK_LIBRARIES(nl_sample_net_layer3_ps nelmisc nelnet) NL_DEFAULT_PROPS(nl_sample_net_layer3_ps "NeL, Samples, Net, Net Layer3: L3 Ping Server") NL_ADD_RUNTIME_FLAGS(nl_sample_net_layer3_ps) INSTALL(TARGETS nl_sample_net_layer3_client nl_sample_net_layer3_fes nl_sample_net_layer3_ps RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT samplesnet) INSTALL(FILES frontend_service.cfg ping_service.cfg DESTINATION ${NL_SHARE_PREFIX}/nl_sample_net_layer3 COMPONENT samplesnet)