blob: 7557445f426d4e8e79cebca201fb9640eb9b2792 [file] [log] [blame]
Brian Waters13d96012017-12-08 16:53:31 -06001# The test_app extension
2PROJECT("Test Diameter Application" C)
3
4# Parser files
5BISON_FILE(ta_conf.y)
6FLEX_FILE(ta_conf.l)
7SET_SOURCE_FILES_PROPERTIES(lex.ta_conf.c ta_conf.tab.c PROPERTIES COMPILE_FLAGS "-I ${CMAKE_CURRENT_SOURCE_DIR}")
8
9# List of source files
10SET( APP_TEST_SRC
11 test_app.h
12 test_app.c
13 lex.ta_conf.c
14 ta_conf.tab.c
15 ta_conf.tab.h
16 ta_dict.c
17 ta_cli.c
18 ta_bench.c
19 ta_serv.c
20)
21
22# Compile as a module
23FD_ADD_EXTENSION(test_app ${APP_TEST_SRC})
24
25
26####
27## INSTALL section ##
28
29INSTALL(TARGETS test_app
30 LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX}
31 COMPONENT freeDiameter-debug-tools)