mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-12 10:23:50 +01:00
When using options and installing g3log as a rpm library
If the g3log code isn't embedded with your code, the defines must match the options "add_defines"
This commit is contained in:
parent
37989ed52f
commit
8b6ee253f5
@ -38,7 +38,7 @@ IF(NOT ENABLE_FATAL_SIGNALHANDLING)
|
||||
add_definitions(-DDISABLE_FATAL_SIGNALHANDLING)
|
||||
MESSAGE("-DENABLE_FATAL_SIGNALHANDLING=OFF\t\t\tFatal signal handler is disabled")
|
||||
ELSE()
|
||||
MESSAGE("-DENABLE_FATAL_SIGNALHANDLING=ON\t\t\tFatal signal handler is enabled")
|
||||
MESSAGE("-DENABLE_FATAL_SIGNALHANDLING=ON\t\t\tFatal signal handler is enabled. Make sure to have \n\t\t[#define DISABLE_FATAL_SIGNALHANDLING 1] in your source code")
|
||||
ENDIF(NOT ENABLE_FATAL_SIGNALHANDLING)
|
||||
|
||||
|
||||
@ -53,7 +53,8 @@ IF (MSVC OR MINGW)
|
||||
|
||||
IF(NOT ENABLE_VECTORED_EXCEPTIONHANDLING)
|
||||
add_definitions(-DDISABLE_VECTORED_EXCEPTIONHANDLING)
|
||||
MESSAGE("-DENABLE_VECTORED_EXCEPTIONHANDLING=OFF\t\t\tVectored exception handling is disabled")
|
||||
MESSAGE("-DENABLE_VECTORED_EXCEPTIONHANDLING=OFF\t\t\tVectored exception handling is disabled. Make sure to have \n\t\t[#define DISABLE_VECTORED_EXCEPTIONHANDLING 1] in your source code")
|
||||
|
||||
ELSE()
|
||||
MESSAGE("-DENABLE_VECTORED_EXCEPTIONHANDLING=ON\t\t\tVectored exception handling is enabled")
|
||||
ENDIF(NOT ENABLE_VECTORED_EXCEPTIONHANDLING)
|
||||
@ -68,7 +69,7 @@ IF (MSVC OR MINGW)
|
||||
"Enable Visual Studio break point when receiving a fatal exception. In __DEBUG mode only" ON)
|
||||
IF(DEBUG_BREAK_AT_FATAL_SIGNAL)
|
||||
add_definitions(-DDEBUG_BREAK_AT_FATAL_SIGNAL)
|
||||
MESSAGE("-DDEBUG_BREAK_AT_FATAL_SIGNAL=ON\t\t\tBreak point for fatal signal is enabled for __DEBUG")
|
||||
MESSAGE("-DDEBUG_BREAK_AT_FATAL_SIGNAL=ON\t\t\tBreak point for fatal signal is enabled for __DEBUG.Make sure to have \n\t\t[#define DEBUG_BREAK_AT_FATAL_SIGNAL 1] in your source code")
|
||||
ELSE()
|
||||
MESSAGE("-DDEBUG_BREAK_AT_FATAL_SIGNAL=OFF\t\t\tBreak point for fatal signal is disabled")
|
||||
ENDIF(DEBUG_BREAK_AT_FATAL_SIGNAL)
|
||||
|
Loading…
Reference in New Issue
Block a user