Fixed Message and .clang-format
This commit is contained in:
@@ -145,5 +145,4 @@ UseTab: Always
|
||||
WhitespaceSensitiveMacros:
|
||||
- STRINGIZE
|
||||
- PP_STRINGIZE
|
||||
- BOOST_PP_STRINGIZE
|
||||
...
|
||||
- BOOST_PP_STRINGIZE
|
||||
@@ -20,7 +20,7 @@ include(${CMAKE_SCRIPTS_DIR}/sanitizers.cmake)
|
||||
include(${CMAKE_SCRIPTS_DIR}/staticanalysis.cmake)
|
||||
|
||||
if (ENABLE_TESTS)
|
||||
message("Unit Testing Enabled")
|
||||
message("-- Unit Testing Enabled")
|
||||
enable_testing()
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
||||
@@ -9,21 +9,21 @@ find_package(spdlog CONFIG REQUIRED)
|
||||
target_link_libraries(${current_target} PRIVATE spdlog::spdlog spdlog::spdlog_header_only)
|
||||
|
||||
if( ENABLE_ALL_REASONABLE_WARNINGS )
|
||||
MESSAGE("Additional Warnings Enabled")
|
||||
MESSAGE("-- Additional Warnings Enabled")
|
||||
target_enable_warnings(${current_target})
|
||||
endif()
|
||||
|
||||
if( ENABLE_WARNINGS_AS_ERRORS )
|
||||
MESSAGE("Warnings as Errors")
|
||||
MESSAGE("-- Warnings as Errors")
|
||||
target_warnings_as_errors(${current_target})
|
||||
endif()
|
||||
|
||||
if( ENABLE_SANITIZERS )
|
||||
MESSAGE("Sanitizers Enabled")
|
||||
MESSAGE("-- Sanitizers Enabled")
|
||||
target_enable_sanitizers(${current_target})
|
||||
endif()
|
||||
|
||||
if( ENABLE_STATIC_ANALYSIS )
|
||||
MESSAGE("Static Analysis Enabled")
|
||||
MESSAGE("-- Static Analysis Enabled")
|
||||
target_enable_static_analysis(${current_target})
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user