Bin2CPP
Some checks failed
Bigfoot / Clang Format Checks (push) Failing after 9s
Bigfoot / Build & Test RelWithDebInfo (Unity Build: OFF) (push) Failing after 16m30s
Bigfoot / Build & Test Debug (Unity Build: ON) (push) Failing after 3h0m50s
Bigfoot / Build & Test Debug (Unity Build: OFF) (push) Failing after 3h1m54s
Bigfoot / Build & Test RelWithDebInfo (Unity Build: ON) (push) Failing after 14m59s
Bigfoot / Build & Test Release (Unity Build: OFF) (push) Failing after 8m41s
Bigfoot / Build & Test Release (Unity Build: ON) (push) Failing after 7m26s
Some checks failed
Bigfoot / Clang Format Checks (push) Failing after 9s
Bigfoot / Build & Test RelWithDebInfo (Unity Build: OFF) (push) Failing after 16m30s
Bigfoot / Build & Test Debug (Unity Build: ON) (push) Failing after 3h0m50s
Bigfoot / Build & Test Debug (Unity Build: OFF) (push) Failing after 3h1m54s
Bigfoot / Build & Test RelWithDebInfo (Unity Build: ON) (push) Failing after 14m59s
Bigfoot / Build & Test Release (Unity Build: OFF) (push) Failing after 8m41s
Bigfoot / Build & Test Release (Unity Build: ON) (push) Failing after 7m26s
This commit is contained in:
16
conanfile.py
16
conanfile.py
@@ -18,6 +18,8 @@ class Bigfoot(ConanFile):
|
||||
options = {
|
||||
"shared": [True, False],
|
||||
"fPIC": [True, False],
|
||||
"asan": [True, False],
|
||||
"coverage": [True, False],
|
||||
"build_tests": [True, False],
|
||||
"tracy": [True, False],
|
||||
"build_tools": [True, False],
|
||||
@@ -27,6 +29,8 @@ class Bigfoot(ConanFile):
|
||||
default_options = {
|
||||
"shared": False,
|
||||
"fPIC": True,
|
||||
"asan": False,
|
||||
"coverage": False,
|
||||
"build_tests": False,
|
||||
"tracy": False,
|
||||
"build_tools": True,
|
||||
@@ -43,10 +47,8 @@ class Bigfoot(ConanFile):
|
||||
if self.settings.os == "Windows":
|
||||
del self.options.fPIC
|
||||
|
||||
self.options['mimalloc'].override = True
|
||||
self.options['mimalloc'].shared = True
|
||||
if(self.settings.os == "Windows"):
|
||||
self.options["mimalloc"].win_redirect = True
|
||||
if(self.options.asan):
|
||||
self.options["mimalloc"].asan = True
|
||||
|
||||
self.options['stduuid'].with_cxx20_span = True
|
||||
self.options['flatbuffers'].header_only = True
|
||||
@@ -59,7 +61,9 @@ class Bigfoot(ConanFile):
|
||||
|
||||
if(self.options.build_benchmarks):
|
||||
self.options["benchmark"].enable_exceptions = False
|
||||
self.options["benchmark"].enable_lto = True
|
||||
|
||||
def build_requirements(self):
|
||||
self.tool_requires("bin2cpp/1.0.0@bigfootdev/v1")
|
||||
|
||||
def requirements(self):
|
||||
self.requires("eastl/3.27.01@bigfootdev/main", transitive_headers=True)
|
||||
@@ -110,6 +114,8 @@ class Bigfoot(ConanFile):
|
||||
def generate(self):
|
||||
tc = CMakeToolchain(self)
|
||||
|
||||
tc.variables["ASAN"] = self.options.asan
|
||||
tc.variables["COVERAGE"] = self.options.coverage
|
||||
tc.variables["BUILD_TESTS"] = self.options.build_tests
|
||||
tc.variables["TRACY"] = self.options.tracy
|
||||
tc.variables["BUILD_TOOLS"] = self.options.build_tools
|
||||
|
||||
Reference in New Issue
Block a user