Unknown c4fea83a2c Added support for examples to the build system. Cleaned up examples.
Examples can now be automatically built with the project, if enabled. And I've cleaned up MiaoDX's examples to be more compliant with frnetlib's coding style.
2017-05-29 18:57:39 +01:00

9 lines
267 B
CMake

add_executable(simple_client tcpsocket_client.cpp)
target_link_libraries(simple_client frnetlib)
add_executable(simple_server tcpsocket_server.cpp)
target_link_libraries(simple_server frnetlib)
install(TARGETS simple_client simple_server
DESTINATION "bin")