1e7faf66bcebbbc762c45fdcf7628487c8b17ada
[oonf.git] / src / dlep-router / CMakeLists.txt
1 ###########################################
2 #### Default Application configuration ####
3 ###########################################
4
5 # set name of program the executable and library prefix
6 set (OONF_APP "DLEP Router")
7 set (OONF_EXE dlep_router)
8
9 # setup custom text before and after default help message
10 set (OONF_HELP_PREFIX "DLEP Router daemon\\n")
11 set (OONF_HELP_SUFFIX "Visit http://www.olsr.org\\n")
12
13 # setup custom text after version string
14 set (OONF_VERSION_TRAILER "Visit http://www.olsr.org\\n")
15
16 # set to true to stop application running without root privileges (true/false)
17 set (OONF_NEED_ROOT false)
18
19 # set to true to require a lock for the application to run
20 set (OONF_NEED_LOCK true)
21
22 # name of default configuration handler
23 set (OONF_APP_DEFAULT_CFG_HANDLER Compact)
24
25 #################################
26 ####  set static subsystems  ####
27 #################################
28
29 IF (NOT OONF_STATIC_PLUGINS)
30     set (OONF_STATIC_PLUGINS class
31                              clock
32                              interface
33                              layer2
34                              packet_socket
35                              socket
36                              stream_socket
37                              telnet
38                              timer
39                              viewer
40                              os_clock
41                              os_socket
42                              os_interface
43                              os_system
44                              cfg_compact
45                              layer2info
46                              systeminfo
47                              dlep_router
48                              )
49 ENDIF (NOT OONF_STATIC_PLUGINS)
50
51 ##################################
52 #### link framework libraries ####
53 ##################################
54
55 include(../../cmake/link_app.cmake)
56 oonf_create_app("${OONF_EXE}" "${OONF_STATIC_PLUGINS}")