mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-01 03:14:29 +02:00
style: pre-commit rules updated
This commit is contained in:
12
conanfile.py
12
conanfile.py
@@ -252,9 +252,9 @@ class MPUnitsConan(ConanFile):
|
||||
tc.absolute_paths = True # only needed for CMake CI
|
||||
if self._build_all:
|
||||
tc.cache_variables["CMAKE_EXPORT_COMPILE_COMMANDS"] = True
|
||||
tc.cache_variables[
|
||||
"CMAKE_VERIFY_INTERFACE_HEADER_SETS"
|
||||
] = not opt.import_std
|
||||
tc.cache_variables["CMAKE_VERIFY_INTERFACE_HEADER_SETS"] = (
|
||||
not opt.import_std
|
||||
)
|
||||
tc.cache_variables["MP_UNITS_DEV_BUILD_LA"] = not self._skip_la
|
||||
if self._run_clang_tidy:
|
||||
tc.cache_variables["MP_UNITS_DEV_CLANG_TIDY"] = True
|
||||
@@ -264,9 +264,9 @@ class MPUnitsConan(ConanFile):
|
||||
if opt.import_std:
|
||||
tc.cache_variables["CMAKE_CXX_MODULE_STD"] = True
|
||||
# Current experimental support according to `Help/dev/experimental.rst`
|
||||
tc.cache_variables[
|
||||
"CMAKE_EXPERIMENTAL_CXX_IMPORT_STD"
|
||||
] = "0e5b6991-d74f-4b3d-a41c-cf096e0b2508"
|
||||
tc.cache_variables["CMAKE_EXPERIMENTAL_CXX_IMPORT_STD"] = (
|
||||
"0e5b6991-d74f-4b3d-a41c-cf096e0b2508"
|
||||
)
|
||||
|
||||
# TODO remove the below when Conan will learn to handle C++ modules
|
||||
if opt.freestanding:
|
||||
|
Reference in New Issue
Block a user