changeset 4015:f6cb16413325

removing useless macro ORTHANC_ENABLE_LOGGING_PLUGIN
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 08 Jun 2020 17:11:09 +0200
parents 27628b0f6ada
children c675d77b82ab
files CMakeLists.txt Plugins/Samples/ConnectivityChecks/CMakeLists.txt Resources/CMake/OrthancFrameworkConfiguration.cmake Resources/Testing/Issue32/Cpp/CMakeLists.txt
diffstat 4 files changed, 2 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Mon Jun 08 17:03:25 2020 +0200
+++ b/CMakeLists.txt	Mon Jun 08 17:11:09 2020 +0200
@@ -252,7 +252,6 @@
 
 add_definitions(
   -DORTHANC_BUILD_UNIT_TESTS=1
-  -DORTHANC_ENABLE_LOGGING_PLUGIN=0
   
   # Macros for the plugins
   -DHAS_ORTHANC_EXCEPTION=0
--- a/Plugins/Samples/ConnectivityChecks/CMakeLists.txt	Mon Jun 08 17:03:25 2020 +0200
+++ b/Plugins/Samples/ConnectivityChecks/CMakeLists.txt	Mon Jun 08 17:11:09 2020 +0200
@@ -34,7 +34,6 @@
 
 add_definitions(
   -DHAS_ORTHANC_EXCEPTION=1
-  -DORTHANC_ENABLE_LOGGING_PLUGIN=1
   -DORTHANC_PLUGIN_NAME="${PLUGIN_NAME}"
   -DORTHANC_PLUGIN_VERSION="${PLUGIN_VERSION}"
   )
--- a/Resources/CMake/OrthancFrameworkConfiguration.cmake	Mon Jun 08 17:03:25 2020 +0200
+++ b/Resources/CMake/OrthancFrameworkConfiguration.cmake	Mon Jun 08 17:11:09 2020 +0200
@@ -544,7 +544,6 @@
 if (ORTHANC_SANDBOXED)
   add_definitions(
     -DORTHANC_SANDBOXED=1
-    -DORTHANC_ENABLE_LOGGING_PLUGIN=0
     )
 
   if (CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
--- a/Resources/Testing/Issue32/Cpp/CMakeLists.txt	Mon Jun 08 17:03:25 2020 +0200
+++ b/Resources/Testing/Issue32/Cpp/CMakeLists.txt	Mon Jun 08 17:11:09 2020 +0200
@@ -8,13 +8,10 @@
 set(ENABLE_WEB_CLIENT ON)
 include(${ORTHANC_ROOT}/OrthancFrameworkConfiguration.cmake)
 
-add_definitions(
-  -DORTHANC_ENABLE_LOGGING_PLUGIN=OFF
-  )
-
 include_directories(${ORTHANC_ROOT})
 
 add_executable(Sample
   main.cpp
   ${ORTHANC_CORE_SOURCES}
-  )
\ No newline at end of file
+  ${AUTOGENERATED_SOURCES}
+  )