Navigation


Changeset 304:ad3c46016584 in freeDiameter for extensions/acl_wl/CMakeLists.txt


Ignore:
Timestamp:
May 14, 2010, 5:26:53 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Added install directives for cmake; also allow default directory to seek for extensions and configuration files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/acl_wl/CMakeLists.txt

    r170 r304  
    1818
    1919# Overwrite the debug level for the extension code if configured
    20 OPTION(DEBUG_LEVEL_ACL_WL "Overwrite debug level for the extension acl_wl if defined" OFF)
     20OPTION(DEBUG_LEVEL_ACL_WL "Overwrite debug level for the extension acl_wl if defined (valid values: FULL, ANNOYING, CALL...)" OFF)
    2121IF (DEBUG_LEVEL_ACL_WL)
    2222     ADD_DEFINITIONS(-DTRACE_LEVEL=${DEBUG_LEVEL_ACL_WL})
    2323ENDIF (DEBUG_LEVEL_ACL_WL)
     24IF (NOT CMAKE_BUILD_TYPE MATCHES "Debug")
     25  MARK_AS_ADVANCED(DEBUG_LEVEL_ACL_WL)
     26ENDIF (NOT CMAKE_BUILD_TYPE MATCHES "Debug")
    2427
    2528# Compile as a module
    2629FD_ADD_EXTENSION(acl_wl ${ACL_WL_SRC})
     30
     31
     32####
     33## INSTALL section ##
     34
     35# We install with the daemon component because it is a base feature.
     36INSTALL(TARGETS acl_wl
     37        LIBRARY DESTINATION ${DEFAULT_EXTENSIONS_PATH}
     38        COMPONENT freeDiameter-daemon)
Note: See TracChangeset for help on using the changeset viewer.