File tree Expand file tree Collapse file tree 5 files changed +25
-0
lines changed
Expand file tree Collapse file tree 5 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 5858[submodule "__externals/Vulkan-Headers "]
5959 path = __externals/Vulkan-Headers
6060 url = https://github.com/KhronosGroup/Vulkan-Headers
61+ [submodule "__externals/tlsf/src "]
62+ path = __externals/tlsf/src
63+ url = https://github.com/mattconte/tlsf
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ if (NOT LAUNCHER_ONLY)
5757 add_subdirectory (${EXTERNAL_DIR} /SPIRV-Cross)
5858 add_subdirectory (${EXTERNAL_DIR} /gtest)
5959 add_subdirectory (${EXTERNAL_DIR} /VulkanMemoryAllocator)
60+ add_subdirectory (${EXTERNAL_DIR} /tlsf)
6061
6162 set (CMAKE_PREFIX_PATH
6263 ${CMAKE_PREFIX_PATH}
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ set(EXTERNAL_INCLUDE_DIRS
55 ${EXTERNAL_DIR} /fmt/include
66 ${EXTERNAL_DIR} /glm/glm
77 ${EXTERNAL_DIR} /imgui/src
8+ ${EXTERNAL_DIR} /tlsf/src
89 ${EXTERNAL_DIR} /spdlog/include
910 ${EXTERNAL_DIR} /glfw/include
1011 ${EXTERNAL_DIR} /entt
@@ -46,4 +47,5 @@ target_link_libraries(imported::External_libs INTERFACE
4647 GPUOpen::VulkanMemoryAllocator
4748 glslang SPIRV
4849 SPIRV-Tools
50+ tlsf
4951)
Original file line number Diff line number Diff line change 1+ set (CMAKE_CXX_STANDARD 11)
2+
3+ list (APPEND TLSF_SOURCE
4+ src/tlsf.h
5+ src/tlsf.c
6+ )
7+
8+ # Source files
9+ #
10+ add_library (tlsf STATIC ${TLSF_SOURCE} )
11+
12+ # include directories
13+ #
14+ target_include_directories (tlsf
15+ PUBLIC
16+ ./src
17+ )
18+
You can’t perform that action at this time.
0 commit comments