/usr/share/camitk-3.3/cmake/CamiTKLog.cmake is in libcamitk3-dev 3.3.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #-----------------------------------
# CamiTK Log configuration
#-----------------------------------
# --- Log in file or not
set( CAMITK_LOG_FILE FALSE CACHE BOOL "Log in Log.txt file in binary program directory (current working directory)")
if( CAMITK_LOG_FILE )
ADD_DEFINITIONS(-DLOG_IN_FILE)
endif()
# --- Log mode declaration (level)
set( CAMITK_LOG_LEVEL "0" CACHE STRING "Log Level: 0-Error and information (default) / 1-Warning / 2-Debug" )
if( CAMITK_LOG_LEVEL STREQUAL "2" )
add_definitions(-DCAMITK_LOG_DEBUG)
endif()
if( CAMITK_LOG_LEVEL STREQUAL "1" )
add_definitions(-DCAMITK_LOG_WARNING)
endif()
if(CAMITK_LOG_LEVEL STRLESS "1" OR LOG_MODE STRGREATER "2")
add_definitions(-DCAMITK_LOG_ERROR)
endif()
|