diff --git a/CMakeLists.txt b/CMakeLists.txt index 344477b9919f8cfe7307d5a71b40220d8d699007..42ff1bab61eaddd2d8c7a1ccbb0e7665de6819da 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.0) project(Base) my_add_subdir(Code) +my_add_subdir(Config) my_add_subdir(Debug) my_add_subdir(Utils) my_add_subdir(Security) diff --git a/Config/CMakeLists.txt b/Config/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..28472cb92b03a267fa5a5621e96c8bf8f5e8fc99 --- /dev/null +++ b/Config/CMakeLists.txt @@ -0,0 +1,8 @@ +set(my_headers + ${CMAKE_CURRENT_SOURCE_DIR}/BaseDefines.hh + PARENT_SCOPE +) + +set(my_sources + PARENT_SCOPE +) diff --git a/Debug/DebFileOut.hh b/Debug/DebFileOut.hh index a955a416302455d6e31733918ced5337736ed4ca..90df0a1d882a2e770dfc99609cca9f5873e887f6 100644 --- a/Debug/DebFileOut.hh +++ b/Debug/DebFileOut.hh @@ -13,7 +13,7 @@ #ifdef DEB_ON #include -#include "../Config/BaseDefines.hh" +#include namespace Debug { diff --git a/Utils/BaseError.hh b/Utils/BaseError.hh index 35a91b657d1ea564517ea7f8b03711bf291abe6e..d34cb324d2cce6f85c64255efd817e27a9bc8e32 100644 --- a/Utils/BaseError.hh +++ b/Utils/BaseError.hh @@ -12,7 +12,7 @@ #define BASE_ERROR_HH_INCLUDED #include -#include "../Config/BaseDefines.hh" +#include namespace Base { diff --git a/Utils/StopWatch.hh b/Utils/StopWatch.hh index ff8bbddc543603a00571e45deaf6d58ffccccda1..ca2d009b51ac9c923f7a522f502fd74f1320907c 100644 --- a/Utils/StopWatch.hh +++ b/Utils/StopWatch.hh @@ -48,7 +48,7 @@ #ifndef BASE_STOPWATCH_HH_INCLUDED #define BASE_STOPWATCH_HH_INCLUDED -#include "../Config/BaseDefines.hh" +#include namespace Base {