decbccf9d6cdbae6f77466b40115dd9adaae9ff5
[oonf.git] / src / dlep-radio / CMakeLists.txt
1 ###########################################
2 #### Default Application configuration ####
3 ###########################################
4
5 # set name of program the executable and library prefix
6 set (OONF_APP "DLEP Radio")
7 set (OONF_EXE dlep_radio)
8
9 # setup custom text before and after default help message
10 set (OONF_HELP_PREFIX "DLEP Radio 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 true)
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                              nl80211_listener
47                              systeminfo
48                              dlep_radio
49                              )
50 ENDIF (NOT OONF_STATIC_PLUGINS)
51
52 ##################################
53 #### link framework libraries ####
54 ##################################
55
56 include(../../cmake/link_app.cmake)
57 oonf_create_app("${OONF_EXE}" "${OONF_STATIC_PLUGINS}")