Navigation


Changeset 170:4b62e4a92828 in freeDiameter for extensions/_sample/CMakeLists.txt


Ignore:
Timestamp:
Feb 2, 2010, 10:54:35 AM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Added configurable trace level for extensions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/_sample/CMakeLists.txt

    r10 r170  
    22PROJECT("Sample extension" C)
    33
     4# Overwrite the debug level for the extension code if configured
     5OPTION(DEBUG_LEVEL__SAMPLE "Overwrite debug level for the extension _sample if defined" OFF)
     6IF (DEBUG_LEVEL__SAMPLE)
     7     ADD_DEFINITIONS(-DTRACE_LEVEL=${DEBUG_LEVEL__SAMPLE})
     8ENDIF (DEBUG_LEVEL__SAMPLE)
     9
    410# Compile as a module
    511FD_ADD_EXTENSION(dbg_sample sample.c fini.c)
Note: See TracChangeset for help on using the changeset viewer.