Skip to content

Commit

Permalink
temporarily removed vulkan deps
Browse files Browse the repository at this point in the history
  • Loading branch information
M2-TE committed Nov 25, 2024
1 parent f42a1d5 commit 0e21a5a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
9 changes: 5 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -66,6 +67,6 @@ include(glm)
include(fmt)
include(phmap)
include(morton)
include(vulkan)
include(vma)
include(shaders)
# include(vulkan)
# include(vma)
# include(shaders)
12 changes: 6 additions & 6 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
#include "dag/dag.hpp"
// // DEBUG
// #include <dag/leaf_cluster.hpp>
#include <vk/vk.hpp>
#include <vulkan/vulkan.hpp>
VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE
#define VMA_IMPLEMENTATION
#include <vk_mem_alloc.hpp>
// #include <vk/vk.hpp>
// #include <vulkan/vulkan.hpp>
// VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE
// #define VMA_IMPLEMENTATION
// #include <vk_mem_alloc.hpp>

void static read_pcl_file() {
std::ifstream file;
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 0e21a5a

Please sign in to comment.