More dependencies
This commit is contained in:
@@ -17,4 +17,6 @@ target_compile_definitions(BigfootCompileAndLinkFlags INTERFACE
|
|||||||
$<$<PLATFORM_ID:Linux>:BIGFOOT_LINUX>
|
$<$<PLATFORM_ID:Linux>:BIGFOOT_LINUX>
|
||||||
$<$<CONFIG:Release>:BIGFOOT_OPTIMIZED>
|
$<$<CONFIG:Release>:BIGFOOT_OPTIMIZED>
|
||||||
$<$<CONFIG:Debug,RelWithDebInfo>:BIGFOOT_NOT_OPTIMIZED>
|
$<$<CONFIG:Debug,RelWithDebInfo>:BIGFOOT_NOT_OPTIMIZED>
|
||||||
$<IF:$<BOOL:${TOOLMODE}>,BIGFOOT_TOOLMODE,BIGFOOT_GAME>)
|
$<IF:$<BOOL:${TOOLMODE}>,BIGFOOT_TOOLMODE,BIGFOOT_GAME>
|
||||||
|
$<$<BOOL:${BUILD_TESTS}>:BIGFOOT_BUILD_TESTS>
|
||||||
|
$<$<BOOL:${BUILD_BENCHMARKS}>:BIGFOOT_BUILD_BENCHMARKS>)
|
||||||
@@ -19,6 +19,10 @@ find_package(rapidhash REQUIRED)
|
|||||||
find_package(effolkronium_random REQUIRED)
|
find_package(effolkronium_random REQUIRED)
|
||||||
find_package(fmt REQUIRED)
|
find_package(fmt REQUIRED)
|
||||||
find_package(flatbuffers CONFIG REQUIRED)
|
find_package(flatbuffers CONFIG REQUIRED)
|
||||||
|
find_package(lyra REQUIRED)
|
||||||
|
find_package(glm REQUIRED)
|
||||||
|
find_package(lodepng REQUIRED)
|
||||||
|
find_package(imgui REQUIRED)
|
||||||
|
|
||||||
if(TRACY)
|
if(TRACY)
|
||||||
find_package(Tracy REQUIRED)
|
find_package(Tracy REQUIRED)
|
||||||
@@ -30,10 +34,6 @@ elseif(${CMAKE_BUILD_TYPE} STREQUAL "Debug" OR ${CMAKE_BUILD_TYPE} STREQUAL "Rel
|
|||||||
find_package(quill REQUIRED)
|
find_package(quill REQUIRED)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(glm REQUIRED)
|
|
||||||
find_package(lodepng REQUIRED)
|
|
||||||
find_package(imgui REQUIRED)
|
|
||||||
|
|
||||||
if(VULKAN)
|
if(VULKAN)
|
||||||
find_package(VulkanHeaders REQUIRED)
|
find_package(VulkanHeaders REQUIRED)
|
||||||
find_package(vulkan-memory-allocator REQUIRED)
|
find_package(vulkan-memory-allocator REQUIRED)
|
||||||
|
|||||||
+11
-1
@@ -1,6 +1,16 @@
|
|||||||
cmake_minimum_required(VERSION 3.26)
|
cmake_minimum_required(VERSION 3.26)
|
||||||
|
|
||||||
project(Bigfoot VERSION 0.1.0
|
# Probe project to load the toolchain file (which sets TOOLMODE) before the
|
||||||
|
# real project() call decides between the tool and game solution names.
|
||||||
|
project(BigfootProbe LANGUAGES NONE)
|
||||||
|
|
||||||
|
if(NOT DEFINED TOOLMODE OR TOOLMODE)
|
||||||
|
set(BIGFOOT_PROJECT_NAME BigfootTool)
|
||||||
|
else()
|
||||||
|
set(BIGFOOT_PROJECT_NAME BigfootGame)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
project(${BIGFOOT_PROJECT_NAME} VERSION 0.1.0
|
||||||
DESCRIPTION "The Bigfoot engine"
|
DESCRIPTION "The Bigfoot engine"
|
||||||
LANGUAGES CXX)
|
LANGUAGES CXX)
|
||||||
|
|
||||||
|
|||||||
+6
-5
@@ -73,6 +73,10 @@ class Bigfoot(ConanFile):
|
|||||||
self.requires("effolkronium-random/1.5.0", transitive_headers=True)
|
self.requires("effolkronium-random/1.5.0", transitive_headers=True)
|
||||||
self.requires("fmt/12.2.0", transitive_headers=True)
|
self.requires("fmt/12.2.0", transitive_headers=True)
|
||||||
self.requires("flatbuffers/25.12.19-2026-02-06-03fffb2-bigfoot@bigfootdev/main", transitive_headers=True)
|
self.requires("flatbuffers/25.12.19-2026-02-06-03fffb2-bigfoot@bigfootdev/main", transitive_headers=True)
|
||||||
|
self.requires("glm/1.0.3", transitive_headers=True)
|
||||||
|
self.requires("lodepng/cci.20260210@bigfootdev/main", transitive_headers=True)
|
||||||
|
self.requires("imgui/1.92.9b-docking", transitive_headers=True)
|
||||||
|
self.requires("lyra/1.8.0", transitive_headers=True)
|
||||||
|
|
||||||
if(self.settings.build_type == "RelWithDebInfo" or self.settings.build_type == "Debug"):
|
if(self.settings.build_type == "RelWithDebInfo" or self.settings.build_type == "Debug"):
|
||||||
self.requires("quill/12.1.0", transitive_headers=True)
|
self.requires("quill/12.1.0", transitive_headers=True)
|
||||||
@@ -80,10 +84,6 @@ class Bigfoot(ConanFile):
|
|||||||
if(self.options.tracy):
|
if(self.options.tracy):
|
||||||
self.requires("tracy/0.13.1", transitive_headers=True)
|
self.requires("tracy/0.13.1", transitive_headers=True)
|
||||||
|
|
||||||
self.requires("glm/1.0.3", transitive_headers=True)
|
|
||||||
self.requires("lodepng/cci.20260210@bigfootdev/main", transitive_headers=True)
|
|
||||||
self.requires("imgui/1.92.9b-docking", transitive_headers=True)
|
|
||||||
|
|
||||||
if(self.options.vulkan):
|
if(self.options.vulkan):
|
||||||
self.requires("vulkan-headers/1.4.341.0@bigfootdev/main", override=True)
|
self.requires("vulkan-headers/1.4.341.0@bigfootdev/main", override=True)
|
||||||
self.requires("vulkan-memory-allocator/3.3.0@bigfootdev/main")
|
self.requires("vulkan-memory-allocator/3.3.0@bigfootdev/main")
|
||||||
@@ -97,7 +97,8 @@ class Bigfoot(ConanFile):
|
|||||||
|
|
||||||
def generate(self):
|
def generate(self):
|
||||||
tc = CMakeToolchain(self)
|
tc = CMakeToolchain(self)
|
||||||
|
tc.presets_prefix = "bigfoot-tool" if self.options.toolmode else "bigfoot-game"
|
||||||
|
|
||||||
tc.variables["ASAN"] = self.options.asan
|
tc.variables["ASAN"] = self.options.asan
|
||||||
tc.variables["COVERAGE"] = self.options.coverage
|
tc.variables["COVERAGE"] = self.options.coverage
|
||||||
tc.variables["BUILD_TESTS"] = self.options.build_tests
|
tc.variables["BUILD_TESTS"] = self.options.build_tests
|
||||||
|
|||||||
Reference in New Issue
Block a user