annotate extensions/dbg_loglevel/CMakeLists.txt @ 1345:51a0521cd065

dbg_loglevel: new extension that allows changing the log level at runtime
author Thomas Klausner <tk@giga.or.at>
date Sun, 12 May 2019 10:35:46 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1345
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
1 # The dbg_loglevel extension
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
2 PROJECT("Debugging extension that allows changing the log level at runtime" C)
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
3
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
4 # Parser files
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
5 BISON_FILE(dbg_loglevel_conf.y)
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
6 FLEX_FILE(dbg_loglevel_conf.l)
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
7 SET_SOURCE_FILES_PROPERTIES(lex.dbg_loglevel_conf.c dbg_loglevel_conf.tab.c PROPERTIES COMPILE_FLAGS "-I ${CMAKE_CURRENT_SOURCE_DIR}")
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
8
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
9 # List of source files
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
10 SET(DBG_LOGLEVEL_SRC
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
11 dbg_loglevel.c
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
12 dbg_loglevel.h
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
13 lex.dbg_loglevel_conf.c
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
14 dbg_loglevel_conf.tab.c
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
15 dbg_loglevel_conf.tab.h
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
16 )
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
17
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
18 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
19
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
20 # Compile these files as a freeDiameter extension
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
21 FD_ADD_EXTENSION(dbg_loglevel ${DBG_LOGLEVEL_SRC})
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
22
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
23 ####
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
24 ## INSTALL section ##
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
25
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
26 INSTALL(TARGETS dbg_loglevel
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
27 LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX}
51a0521cd065 dbg_loglevel: new extension that allows changing the log level at runtime
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
28 COMPONENT freeDiameter-debug-tools)
"Welcome to our mercurial repository"