mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 04:44:27 +02:00
warnings.cmake refactored
This commit is contained in:
@@ -36,12 +36,12 @@ conan_init(cmake)
|
||||
#enable_clang_tidy()
|
||||
#enable_iwyu()
|
||||
|
||||
# set restrictive compilation warnings
|
||||
set_warnings(TREAT_AS_ERRORS)
|
||||
|
||||
# add project code
|
||||
add_subdirectory(src)
|
||||
|
||||
# set restrictive compilation warnings
|
||||
set_warnings(units)
|
||||
|
||||
# add unit tests
|
||||
enable_testing()
|
||||
add_subdirectory(test)
|
||||
|
Reference in New Issue
Block a user