Mercurial > hg > freeDiameter
view extensions/acl_wl/CMakeLists.txt @ 1534:c83e60f28632
dict_dcca_3gpp: simplify rule creation
Refactor local_rules_definition to simplify rule creation
(to avoid c99 struct initialisers that result in long lines).
No change to generated rules.
author | Luke Mewburn <luke@mewburn.net> |
---|---|
date | Mon, 20 Apr 2020 12:12:42 +1000 |
parents | b415d1384e0d |
children |
line wrap: on
line source
# The acl_wl extension PROJECT("Access Control / White List" C) # Parser files BISON_FILE(aw_conf.y) FLEX_FILE(aw_conf.l) SET_SOURCE_FILES_PROPERTIES(lex.aw_conf.c aw_conf.tab.c PROPERTIES COMPILE_FLAGS "-I ${CMAKE_CURRENT_SOURCE_DIR}") # List of source files SET( ACL_WL_SRC acl_wl.h acl_wl.c aw_tree.c lex.aw_conf.c aw_conf.tab.c aw_conf.tab.h ) # Compile as a module FD_ADD_EXTENSION(acl_wl ${ACL_WL_SRC}) #### ## INSTALL section ## # We install with the daemon component because it is a base feature. INSTALL(TARGETS acl_wl LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX} COMPONENT freeDiameter-daemon)