mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-02 20:04:27 +02:00
build: import_std
set to False
by default
This commit is contained in:
@@ -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",
|
||||
}
|
||||
|
||||
|
@@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user