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 58
58
[submodule "__externals/Vulkan-Headers "]
59
59
path = __externals/Vulkan-Headers
60
60
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)
57
57
add_subdirectory (${EXTERNAL_DIR} /SPIRV-Cross )
58
58
add_subdirectory (${EXTERNAL_DIR} /gtest )
59
59
add_subdirectory (${EXTERNAL_DIR} /VulkanMemoryAllocator )
60
+ add_subdirectory (${EXTERNAL_DIR} /tlsf )
60
61
61
62
set (CMAKE_PREFIX_PATH
62
63
${CMAKE_PREFIX_PATH}
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ set(EXTERNAL_INCLUDE_DIRS
5
5
${EXTERNAL_DIR} /fmt/include
6
6
${EXTERNAL_DIR} /glm/glm
7
7
${EXTERNAL_DIR} /imgui/src
8
+ ${EXTERNAL_DIR} /tlsf/src
8
9
${EXTERNAL_DIR} /spdlog/include
9
10
${EXTERNAL_DIR} /glfw/include
10
11
${EXTERNAL_DIR} /entt
@@ -46,4 +47,5 @@ target_link_libraries(imported::External_libs INTERFACE
46
47
GPUOpen::VulkanMemoryAllocator
47
48
glslang SPIRV
48
49
SPIRV-Tools
50
+ tlsf
49
51
)
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