diff --git a/CMakeLists.txt b/CMakeLists.txt index 295817c568fe254e8e6f7246c7c9f47dbf141609..2465df77a1e77982413901f676037f154d5ec9db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,6 @@ if (NOT CMAKE_BUILD_TYPE) FORCE) elseif("CMAKE_BUILD_TYPE" STREQUAL "Debug") #TODO rewrite to use add_compile_definitions - add_compile_options(-DDEBUG) endif (NOT CMAKE_BUILD_TYPE) #------------------------# diff --git a/src/ISerializable.h b/src/ISerializable.h new file mode 100644 index 0000000000000000000000000000000000000000..5105cb8564e944901c68d2437d86d28b379269c8 --- /dev/null +++ b/src/ISerializable.h @@ -0,0 +1,8 @@ +// +// Created by martin on 9/14/18. +// + +#ifndef PROJECT_ISERIALIZABLE_H +#define PROJECT_ISERIALIZABLE_H + +#endif //PROJECT_ISERIALIZABLE_H diff --git a/src/message.h b/src/message.h index 75f8098a860b4c5ed053ae169369da6123a9f619..957037613234c0c6a3387730791f77fbe093ad51 100644 --- a/src/message.h +++ b/src/message.h @@ -5,16 +5,7 @@ #ifndef PROJECT_MESSAGE_H #define PROJECT_MESSAGE_H -#define MSG_INFO(str) {\ - std::cout << "INFO: " << str << std::endl;\ -} - -#ifdef DEBUG -#define MSG_DEBUG(str) {\ - std::cout << "DEBUG: " << str << std::endl;\ -} -#else -#define MSG_DEBUG(str) -#endif +#define MSG_INFO(str) std::cout << "INFO: " << str << std::endl; +#define MSG_DEBUG(str) assert(std::cerr << "DEBUG:" << str << std::endl); #endif //PROJECT_MESSAGE_H