Skip to content

Commit

Permalink
Add extensive warnings as option
Browse files Browse the repository at this point in the history
  • Loading branch information
jellespijker committed Aug 11, 2022
1 parent 52f9e34 commit 06364d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ class CuraEngineConan(ConanFile):
"enable_arcus": [True, False],
"enable_openmp": [True, False],
"enable_testing": [True, False],
"enable_extensive_warnings": [True, False]
}
default_options = {
"enable_arcus": True,
"enable_openmp": True,
"enable_testing": False,
"enable_extensive_warnings": True,
}
scm = {
"type": "git",
Expand Down Expand Up @@ -84,6 +86,7 @@ def generate(self):
tc.variables["CURA_ENGINE_VERSION"] = self.version
tc.variables["ENABLE_ARCUS"] = self.options.enable_arcus
tc.variables["ENABLE_TESTING"] = self.options.enable_testing
tc.variables["EXTENSIVE_WARNINGS"] = self.options.enable_extensive_warnings
if self.settings.os != "Macos":
tc.variables["ENABLE_OPENMP"] = self.options.enable_openmp

Expand Down

0 comments on commit 06364d5

Please sign in to comment.