mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
Preprocessor option for logging functions (#567)
* Update showoptions.cmake * Update config.cmake.dist * Example of preprocessor usage Other work must continue for PR https://github.com/azerothcore/azerothcore-wotlk/pull/519
This commit is contained in:
@@ -121,5 +121,12 @@ else()
|
||||
message("* Disable vmap DisableMgr checks : No (default)")
|
||||
endif()
|
||||
|
||||
if( DISABLE_EXTRA_LOGS )
|
||||
message("* Disable extra logging functions : Yes (default)")
|
||||
add_definitions(-DDISABLE_EXTRA_LOGS)
|
||||
else()
|
||||
message("* Disable extra logging functions : No")
|
||||
endif()
|
||||
|
||||
message("")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user