Fixes for OLSRd2 build process
[oonf.git] / src / CMakeLists.txt
1 # create application data for including
2 include (./app_config.cmake)
3
4 # generate configuration files
5 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/app_data.h.in ${PROJECT_BINARY_DIR}/app_data.h)
6 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/app_data.c.in ${PROJECT_BINARY_DIR}/app_data.c)
7
8 # add main program
9 set(OONF_SRCS main.c 
10               ${PROJECT_BINARY_DIR}/app_data.c)
11
12 # link framework libraries
13 include(../cmake/link_app.cmake)