You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raiseConanException(f'tools.cmake.cmaketoolchain:extra_variables "cache" must be a boolean (True/False)')
1041
1043
var_type=value.get("type")
1042
1044
ifnotvar_type:
1043
-
raiseConanException(f'CMakeToolchain needs type defined for cache variable "{key}"')
1045
+
raiseConanException(f'tools.cmake.cmaketoolchain:extra_variables needs "type" defined for cache variable "{key}"')
1044
1046
ifvar_typenotinself.CMAKE_CACHE_TYPES:
1045
-
raiseConanException(f'CMakeToolchain invalid type "{var_type}" for cache variable "{key}". Possible types: {', '.join(self.CMAKE_CACHE_TYPES)}')
1046
-
docstring=value.get("docstring")
1047
-
ifnotdocstring:
1048
-
raiseConanException(f'CMakeToolchain needs docstring defined for cache variable "{key}"')
1047
+
raiseConanException(f'tools.cmake.cmaketoolchain:extra_variables invalid type "{var_type}" for cache variable "{key}". Possible types: {", ".join(self.CMAKE_CACHE_TYPES)}')
assert'CMakeToolchain needs docstring defined for cache variable "invalid"'inclient.out
1625
+
assert'tools.cmake.cmaketoolchain:extra_variables invalid type "INVALID_TYPE" for cache variable "invalid". Possible types: BOOL, FILEPATH, PATH, STRING, INTERNAL'inclient.out
0 commit comments