Fixed Message and .clang-format
This commit is contained in:
@@ -146,4 +146,3 @@ WhitespaceSensitiveMacros:
|
|||||||
- STRINGIZE
|
- STRINGIZE
|
||||||
- PP_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)
|
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()
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user