Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd224a03

Browse files
committed
Added options to enable logging in non-debug or totally disable logging.
1 parentd05ad3f commitd224a03

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎CMakeLists.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ elseif(${CMAKE_CXX_COMPILER_ID} MATCHES Clang)
4343
message("C++ Flags:${CMAKE_CXX_FLAGS} link flags:${CMAKE_CXX_LINK_FLAGS}")
4444
endif()
4545

46+
option( CPP-NETLIB_ALWAYS_LOGGING"Allow cpp-netlib to log debug messages even in non-debug mode."FALSE )
47+
option( CPP-NETLIB_DISABLE_LOGGING"Disable logging definitely, no logging code will be generated or compiled."FALSE )
48+
4649
if (Boost_FOUND)
4750
if (MSVC)
4851
add_definitions(-D_SCL_SECURE_NO_WARNINGS)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp