Fixed Message and .clang-format

This commit is contained in:
McMassiveNZ
2023-05-03 22:21:09 +02:00
parent d81e880cf3
commit ea2f1c08b7
3 changed files with 6 additions and 7 deletions

View File

@@ -146,4 +146,3 @@ WhitespaceSensitiveMacros:
- STRINGIZE - STRINGIZE
- PP_STRINGIZE - PP_STRINGIZE
- BOOST_PP_STRINGIZE - BOOST_PP_STRINGIZE
...

View File

@@ -20,7 +20,7 @@ include(${CMAKE_SCRIPTS_DIR}/sanitizers.cmake)
include(${CMAKE_SCRIPTS_DIR}/staticanalysis.cmake) include(${CMAKE_SCRIPTS_DIR}/staticanalysis.cmake)
if (ENABLE_TESTS) if (ENABLE_TESTS)
message("Unit Testing Enabled") message("-- Unit Testing Enabled")
enable_testing() enable_testing()
add_subdirectory(test) add_subdirectory(test)
endif() endif()

View File

@@ -9,21 +9,21 @@ find_package(spdlog CONFIG REQUIRED)
target_link_libraries(${current_target} PRIVATE spdlog::spdlog spdlog::spdlog_header_only) target_link_libraries(${current_target} PRIVATE spdlog::spdlog spdlog::spdlog_header_only)
if( ENABLE_ALL_REASONABLE_WARNINGS ) if( ENABLE_ALL_REASONABLE_WARNINGS )
MESSAGE("Additional Warnings Enabled") MESSAGE("-- Additional Warnings Enabled")
target_enable_warnings(${current_target}) target_enable_warnings(${current_target})
endif() endif()
if( ENABLE_WARNINGS_AS_ERRORS ) if( ENABLE_WARNINGS_AS_ERRORS )
MESSAGE("Warnings as Errors") MESSAGE("-- Warnings as Errors")
target_warnings_as_errors(${current_target}) target_warnings_as_errors(${current_target})
endif() endif()
if( ENABLE_SANITIZERS ) if( ENABLE_SANITIZERS )
MESSAGE("Sanitizers Enabled") MESSAGE("-- Sanitizers Enabled")
target_enable_sanitizers(${current_target}) target_enable_sanitizers(${current_target})
endif() endif()
if( ENABLE_STATIC_ANALYSIS ) if( ENABLE_STATIC_ANALYSIS )
MESSAGE("Static Analysis Enabled") MESSAGE("-- Static Analysis Enabled")
target_enable_static_analysis(${current_target}) target_enable_static_analysis(${current_target})
endif() endif()