Compare commits

..

No commits in common. "7aa750b2b1d28698cf46d1d79547200e1e13623a" and "2d1d46ec08e69d6be83c2fcbce1cc819c7fb937e" have entirely different histories.

2 changed files with 9 additions and 5 deletions

View file

@ -29,7 +29,11 @@ set(WITH_INTERCONNECT ON CACHE BOOL "" FORCE)
set(WITH_PLUGINMANAGER OFF CACHE BOOL "" FORCE) set(WITH_PLUGINMANAGER OFF CACHE BOOL "" FORCE)
set(WITH_TESTSUITE OFF CACHE BOOL "" FORCE) set(WITH_TESTSUITE OFF CACHE BOOL "" FORCE)
set(WITH_MAIN ON CACHE BOOL "" FORCE) set(WITH_MAIN ON CACHE BOOL "" FORCE)
set(BUILD_DEPRECATED OFF CACHE BOOL "" FORCE) if(CMAKE_BUILD_TYPE STREQUAL Debug)
set(BUILD_DEPRECATED ON CACHE BOOL "" FORCE)
elseif(CMAKE_BUILD_TYPE STREQUAL Release)
set(BUILD_DEPRECATED OFF CACHE BOOL "" FORCE)
endif()
set(UTILITY_USE_ANSI_COLORS ON CACHE BOOL "" FORCE) set(UTILITY_USE_ANSI_COLORS ON CACHE BOOL "" FORCE)
add_subdirectory(third-party/corrade EXCLUDE_FROM_ALL) add_subdirectory(third-party/corrade EXCLUDE_FROM_ALL)

View file

@ -61,13 +61,13 @@ bool tryLockMutex();
#define LOG_INFO(message) MassBuilderSaveTool::Logger::lockMutex(); \ #define LOG_INFO(message) MassBuilderSaveTool::Logger::lockMutex(); \
MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Info, message); \ MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Info, message); \
MassBuilderSaveTool::Logger::unlockMutex() MassBuilderSaveTool::Logger::unlockMutex();
#define LOG_SUCCESS(message) MassBuilderSaveTool::Logger::lockMutex(); \ #define LOG_SUCCESS(message) MassBuilderSaveTool::Logger::lockMutex(); \
MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Success, message); \ MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Success, message); \
MassBuilderSaveTool::Logger::unlockMutex() MassBuilderSaveTool::Logger::unlockMutex();
#define LOG_WARNING(message) MassBuilderSaveTool::Logger::lockMutex(); \ #define LOG_WARNING(message) MassBuilderSaveTool::Logger::lockMutex(); \
MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Warning, message); \ MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Warning, message); \
MassBuilderSaveTool::Logger::unlockMutex() MassBuilderSaveTool::Logger::unlockMutex();
#define LOG_ERROR(message) MassBuilderSaveTool::Logger::lockMutex(); \ #define LOG_ERROR(message) MassBuilderSaveTool::Logger::lockMutex(); \
MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Error, message); \ MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Error, message); \
MassBuilderSaveTool::Logger::unlockMutex() MassBuilderSaveTool::Logger::unlockMutex();