Changeset 304:ad3c46016584 in freeDiameter for extensions/_sample
- Timestamp:
- May 14, 2010, 5:26:53 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/_sample/CMakeLists.txt
r170 r304 3 3 4 4 # Overwrite the debug level for the extension code if configured 5 OPTION(DEBUG_LEVEL__SAMPLE "Overwrite debug level for the extension _sample if defined " OFF)5 OPTION(DEBUG_LEVEL__SAMPLE "Overwrite debug level for the extension _sample if defined (valid values: FULL, ANNOYING, CALL...)" OFF) 6 6 IF (DEBUG_LEVEL__SAMPLE) 7 7 ADD_DEFINITIONS(-DTRACE_LEVEL=${DEBUG_LEVEL__SAMPLE}) 8 8 ENDIF (DEBUG_LEVEL__SAMPLE) 9 IF (NOT CMAKE_BUILD_TYPE MATCHES "Debug") 10 MARK_AS_ADVANCED(DEBUG_LEVEL__SAMPLE) 11 ENDIF (NOT CMAKE_BUILD_TYPE MATCHES "Debug") 9 12 10 13 # Compile as a module 11 14 FD_ADD_EXTENSION(dbg_sample sample.c fini.c) 15 16 17 #### 18 ## INSTALL section ## 19 20 INSTALL(TARGETS dbg_sample 21 LIBRARY DESTINATION ${DEFAULT_EXTENSIONS_PATH} 22 COMPONENT freeDiameter-debug-tools)
Note: See TracChangeset
for help on using the changeset viewer.