build: import_std set to False by default

This commit is contained in:
Mateusz Pusz
2025-07-10 11:27:39 +02:00
parent 5e238ccc91
commit 88caf5871f
2 changed files with 3 additions and 2 deletions

View File

@@ -68,6 +68,7 @@ class MPUnitsConan(ConanFile):
# "import_std" default set in config_options()
# "std_format" default set in config_options()
# "no_crtp" default set in config_options()
"import_std": False, # still experimental in CMake
"contracts": "gsl-lite",
"freestanding": False,
"natural_units": True,
@@ -129,7 +130,7 @@ class MPUnitsConan(ConanFile):
return {
"std_format": "std_format",
"cxx_modules": "cxx_modules",
"import_std": "import_std",
# "import_std": "import_std", # still experimental in CMake
"no_crtp": "explicit_this",
}

View File

@@ -107,7 +107,7 @@ dependencies by other means, some modifications to the library's CMake files mig
[`import_std`](#import_std){ #import_std } :test_tube:{ title="Experimental" }
: [:octicons-tag-24: 2.3.0][conan import std support] · :octicons-milestone-24: `True`/`False` (Default: automatically determined from settings)
: [:octicons-tag-24: 2.3.0][conan import std support] · :octicons-milestone-24: `True`/`False` (Default: `False`)
Enables `import std;` usage.