/usr/share/camitk-4.0/cmake/CamiTKLog.cmake is in libcamitk-dev 4.0.4-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 | #-----------------------------------
# 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-Information + Error (always enabled) / 1- + Warning / 2- + Warning + Debug" )
if( CAMITK_LOG_LEVEL STREQUAL "1" )
add_definitions(-DCAMITK_LOG_WARNING)
elseif( CAMITK_LOG_LEVEL STREQUAL "2" )
add_definitions(-DCAMITK_LOG_DEBUG)
endif()
|