Update compilation
Some checks failed
Bigfoot / build-and-test (Debug, ON) (push) Successful in 25s
Bigfoot / build-and-test (RelWithDebInfo, OFF) (push) Successful in 27s
Bigfoot / build-and-test (RelWithDebInfo, ON) (push) Successful in 25s
Bigfoot / build-and-test (Release, OFF) (push) Successful in 20s
Bigfoot / build-and-test (Release, ON) (push) Has been cancelled
Bigfoot / build-and-test (Debug, OFF) (push) Successful in 26s

This commit is contained in:
2026-01-28 14:28:07 +01:00
parent a114ae2410
commit f3a1c7ec36
68 changed files with 1576 additions and 531 deletions

View File

@@ -7,7 +7,7 @@ required_conan_version = ">=1.33.0"
class Bigfoot(ConanFile):
name = "bigfoot"
homepage = "https://gitlab.com/bigfootdev/bigfoot"
homepage = "https://git.romainboullard.com/BigfootDev/Bigfoot"
description = "Bigfoot is a 3D game engine written in C++"
topics = ("game engine", "3d")
license = "MIT"
@@ -18,28 +18,20 @@ class Bigfoot(ConanFile):
options = {
"shared": [True, False],
"fPIC": [True, False],
"unity_build": [True, False],
"build_tests": [True, False],
"sample_app": [True, False],
"tracy": [True, False],
"build_tools": [True, False],
"vulkan": [True, False],
"build_benchmarks": [True, False],
"build_benchmarks_lto": [True, False],
"render_doc": [True, False]
}
default_options = {
"shared": False,
"fPIC": True,
"unity_build": True,
"build_tests": False,
"sample_app": False,
"tracy": False,
"build_tools": True,
"vulkan": True,
"build_benchmarks": False,
"build_benchmarks_lto": True,
"render_doc": False
}
generators = "CMakeDeps"
@@ -67,8 +59,7 @@ class Bigfoot(ConanFile):
if(self.options.build_benchmarks):
self.options["benchmark"].enable_exceptions = False
if(self.options.build_benchmarks_lto):
self.options["benchmark"].enable_lto = True
self.options["benchmark"].enable_lto = True
def requirements(self):
self.requires("eastl/3.27.01@bigfootdev/main", transitive_headers=True)
@@ -98,7 +89,7 @@ class Bigfoot(ConanFile):
self.requires("vulkan-validationlayers/1.4.313.0@bigfootdev/main")
self.requires("vulkan-memory-allocator/3.3.0@bigfootdev/main")
if(self.options.sample_app or self.options.build_tests or self.options.build_benchmarks):
if(self.options.build_tests or self.options.build_benchmarks):
self.requires("glfw/3.4")
if(self.options.build_tests):
@@ -110,7 +101,7 @@ class Bigfoot(ConanFile):
self.requires("shaderc/2025.3@bigfootdev/main")
self.requires("stb/cci.20240531", override=True)
self.requires("assimp/6.0.2")
self.requires("meshoptimizer/1.0")
self.requires("meshoptimizer/1.0@bigfootdev/main")
self.requires("libsquish/1.15")
if(self.options.build_benchmarks):
@@ -119,14 +110,11 @@ class Bigfoot(ConanFile):
def generate(self):
tc = CMakeToolchain(self)
tc.variables["UNITY_BUILD"] = self.options.unity_build
tc.variables["BUILD_TESTS"] = self.options.build_tests
tc.variables["TRACY"] = self.options.tracy
tc.variables["BUILD_TOOLS"] = self.options.build_tools
tc.variables["VULKAN"] = self.options.vulkan
tc.variables["BUILD_BENCHMARKS"] = self.options.build_benchmarks
tc.variables["RENDER_DOC"] = self.options.render_doc
tc.variables["SAMPLE_APP"] = self.options.sample_app
tc.generate()