From 0e21a5ac12b0d486f43ef0fdbbeacc4ff6ff4cb2 Mon Sep 17 00:00:00 2001 From: Jan Kuhlmann <33833587+M2-TE@users.noreply.github.com> Date: Mon, 25 Nov 2024 14:38:19 +0100 Subject: [PATCH] temporarily removed vulkan deps --- CMakeLists.txt | 9 +++++---- src/main.cpp | 12 ++++++------ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index addd92f..b5347f1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,8 +35,9 @@ if (NOT DEFINED CHAD_LEAF_BITS) endif() # create executable/library -file(GLOB_RECURSE CPP_SOURCE_FILES CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp") +file(GLOB_RECURSE CPP_SOURCE_FILES CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/src/dag/*.cpp") if (CHAD_TOP_LEVEL) + set(CPP_SOURCE_FILES ${CPP_SOURCE_FILES} "${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp") add_executable(${PROJECT_NAME} ${CPP_SOURCE_FILES}) target_compile_definitions(${PROJECT_NAME} PRIVATE CHAD_MAIN) set_target_properties(${PROJECT_NAME} PROPERTIES @@ -66,6 +67,6 @@ include(glm) include(fmt) include(phmap) include(morton) -include(vulkan) -include(vma) -include(shaders) \ No newline at end of file +# include(vulkan) +# include(vma) +# include(shaders) \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 9b19213..0cbb2a2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -8,11 +8,11 @@ #include "dag/dag.hpp" // // DEBUG // #include -#include -#include -VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE -#define VMA_IMPLEMENTATION -#include +// #include +// #include +// VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE +// #define VMA_IMPLEMENTATION +// #include void static read_pcl_file() { std::ifstream file; @@ -72,7 +72,7 @@ void static do_sphere_thing() { // dag.merge_all_subtrees(); } int main() { - init_vk(); + // init_vk(); exit(0); if (false) read_pcl_file(); else do_sphere_thing();