comparison include/freeDiameter/CMakeLists.txt @ 1237:b255ba44f59c

Add an option DEBUG_WITHOUT_META to strip some information from the log prefix
author Sebastien Decugis <sdecugis@freediameter.net>
date Sat, 02 Nov 2013 22:27:34 +0800
parents 05f74dc19c49
children 0aeb09ef20f1
comparison
equal deleted inserted replaced
1236:a0d9fb49694e 1237:b255ba44f59c
13 ENDIF (NOT DISABLE_SCTP) 13 ENDIF (NOT DISABLE_SCTP)
14 14
15 # Find TODO items in the code easily ? 15 # Find TODO items in the code easily ?
16 OPTION(ERRORS_ON_TODO "(development) Generate compilation errors on TODO items ?" OFF) 16 OPTION(ERRORS_ON_TODO "(development) Generate compilation errors on TODO items ?" OFF)
17 17
18 # In DEBUG mode, each log contains pid, calling function and file for easy debug. Set to ON to strip this information.
19 OPTION(DEBUG_WITHOUT_META "Strip calling location in logs?" OFF)
20
18 # Create the absolute path for searching extensions 21 # Create the absolute path for searching extensions
19 SET(DEFAULT_EXTENSIONS_PATH ${CMAKE_INSTALL_PREFIX}/${INSTALL_EXTENSIONS_SUFFIX}) 22 SET(DEFAULT_EXTENSIONS_PATH ${CMAKE_INSTALL_PREFIX}/${INSTALL_EXTENSIONS_SUFFIX})
20 23
21 # IDNA considerations 24 # IDNA considerations
22 OPTION(DIAMID_IDNA_IGNORE "Ignore completely invalid characters in Diameter Identities (process blindly)?" OFF) 25 OPTION(DIAMID_IDNA_IGNORE "Ignore completely invalid characters in Diameter Identities (process blindly)?" OFF)
31 # The following workaround increases compatibility with some implementations without breaking anything in freeDiameter, 34 # The following workaround increases compatibility with some implementations without breaking anything in freeDiameter,
32 # so it can be enabled without risk. We keep it disabled by default anyway for those people who use freeDiameter to check the 35 # so it can be enabled without risk. We keep it disabled by default anyway for those people who use freeDiameter to check the
33 # compliancy of their implementation with the Diameter RFC... 36 # compliancy of their implementation with the Diameter RFC...
34 OPTION(WORKAROUND_ACCEPT_INVALID_VSAI "Do not reject a CER/CEA with a Vendor-Specific-Application-Id AVP containing both Auth- and Acct- application AVPs?" OFF) 37 OPTION(WORKAROUND_ACCEPT_INVALID_VSAI "Do not reject a CER/CEA with a Vendor-Specific-Application-Id AVP containing both Auth- and Acct- application AVPs?" OFF)
35 38
36 MARK_AS_ADVANCED(DISABLE_SCTP DEBUG_SCTP SCTP_USE_MAPPED_ADDRESSES ERRORS_ON_TODO DIAMID_IDNA_IGNORE DIAMID_IDNA_REJECT DISABLE_PEER_EXPIRY WORKAROUND_ACCEPT_INVALID_VSAI) 39 MARK_AS_ADVANCED(DISABLE_SCTP DEBUG_SCTP SCTP_USE_MAPPED_ADDRESSES ERRORS_ON_TODO DEBUG_WITHOUT_META DIAMID_IDNA_IGNORE DIAMID_IDNA_REJECT DISABLE_PEER_EXPIRY WORKAROUND_ACCEPT_INVALID_VSAI)
37 40
38 ######################## 41 ########################
39 ### System checks part 42 ### System checks part
40 43
41 INCLUDE (CheckLibraryExists) 44 INCLUDE (CheckLibraryExists)
"Welcome to our mercurial repository"