/[svn]/liblscp/trunk/examples/CMakeLists.txt
ViewVC logotype

Contents of /liblscp/trunk/examples/CMakeLists.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3866 - (show annotations) (download)
Sat Mar 27 12:17:51 2021 UTC (3 years ago) by capela
File MIME type: text/plain
File size: 377 byte(s)
* Switching to CMake build system as for packaging default.
1 # project(liblscp)
2
3 set (CMAKE_INCLUDE_CURRENT_DIR ON)
4
5 include_directories (${CMAKE_SOURCE_DIR})
6
7 add_executable (example_server
8 example_server.c
9 server.h
10 parser.h
11 server.c
12 parser.c
13 )
14
15 add_executable (example_client
16 example_client.c
17 )
18
19 target_link_libraries (example_server PRIVATE ${PROJECT_NAME})
20 target_link_libraries (example_client PRIVATE ${PROJECT_NAME})

  ViewVC Help
Powered by ViewVC