should prob put this on git sometime
This commit is contained in:
52
destrum/third_party/CMakeLists.txt
vendored
Normal file
52
destrum/third_party/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
# glm
|
||||
add_subdirectory(glm)
|
||||
|
||||
# stb
|
||||
add_subdirectory(stb)
|
||||
|
||||
# SDL
|
||||
if (NOT BUILD_SHARED_LIBS)
|
||||
set(SDL_SHARED_ENABLED_BY_DEFAULT OFF CACHE BOOL "Don't build SDL as shared lib")
|
||||
endif()
|
||||
option(SDL_TEST "Build the SDL2_test library" OFF)
|
||||
option(SDL_AUDIO_ENABLED_BY_DEFAULT "Enable the Audio subsystem" OFF)
|
||||
add_subdirectory(sdl)
|
||||
|
||||
add_subdirectory(vk-bootstrap)
|
||||
if (MSVC)
|
||||
target_compile_definitions(vk-bootstrap PRIVATE $<$<CONFIG:Debug>:_ITERATOR_DEBUG_LEVEL=1>)
|
||||
endif()
|
||||
if (BUILD_SHARED_LIBS)
|
||||
set_target_properties(vk-bootstrap PROPERTIES
|
||||
POSITION_INDEPENDENT_CODE ON
|
||||
)
|
||||
endif()
|
||||
|
||||
# vma
|
||||
add_subdirectory(vma)
|
||||
# volk
|
||||
add_subdirectory(volk)
|
||||
|
||||
# FreeType
|
||||
option(FT_DISABLE_ZLIB
|
||||
"Disable use of system zlib and use internal zlib library instead." ON)
|
||||
option(FT_DISABLE_BZIP2
|
||||
"Disable support of bzip2 compressed fonts." ON)
|
||||
option(FT_DISABLE_BROTLI
|
||||
"Disable support of compressed WOFF2 fonts." ON)
|
||||
option(FT_DISABLE_HARFBUZZ
|
||||
"Disable HarfBuzz (used for improving auto-hinting of OpenType fonts)." ON)
|
||||
option(FT_DISABLE_PNG
|
||||
"Disable support of PNG compressed OpenType embedded bitmaps." ON)
|
||||
option(SKIP_INSTALL_ALL "Skip install all" ON)
|
||||
option(FT_ENABLE_ERROR_STRINGS
|
||||
"Enable support for meaningful error descriptions." ON)
|
||||
add_subdirectory(freetype)
|
||||
add_library(freetype::freetype ALIAS freetype)
|
||||
|
||||
# nlohmann_json
|
||||
option(JSON_MultipleHeaders "Use non-amalgamated version of the library." ON)
|
||||
option(JSON_Install "Install CMake targets during install step." OFF)
|
||||
add_subdirectory(json)
|
||||
|
||||
add_subdirectory(spdlog)
|
||||
1
destrum/third_party/fmt
vendored
Submodule
1
destrum/third_party/fmt
vendored
Submodule
Submodule destrum/third_party/fmt added at 7ad8004d57
1
destrum/third_party/freetype
vendored
Submodule
1
destrum/third_party/freetype
vendored
Submodule
Submodule destrum/third_party/freetype added at 23b6cd27ff
1
destrum/third_party/glfw
vendored
Submodule
1
destrum/third_party/glfw
vendored
Submodule
Submodule destrum/third_party/glfw added at dbadda2683
1
destrum/third_party/glm
vendored
Submodule
1
destrum/third_party/glm
vendored
Submodule
Submodule destrum/third_party/glm added at 8f6213d379
1
destrum/third_party/json
vendored
Submodule
1
destrum/third_party/json
vendored
Submodule
Submodule destrum/third_party/json added at 30b28175e4
1
destrum/third_party/sdl
vendored
Submodule
1
destrum/third_party/sdl
vendored
Submodule
Submodule destrum/third_party/sdl added at 3eba0b6f8a
1
destrum/third_party/spdlog
vendored
Submodule
1
destrum/third_party/spdlog
vendored
Submodule
Submodule destrum/third_party/spdlog added at 32dd298dc2
3
destrum/third_party/stb/CMakeLists.txt
vendored
Normal file
3
destrum/third_party/stb/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
add_library(stb_image INTERFACE)
|
||||
target_include_directories(stb_image INTERFACE "${CMAKE_CURRENT_LIST_DIR}/include")
|
||||
add_library(stb::image ALIAS stb_image)
|
||||
7987
destrum/third_party/stb/include/stb_image.h
vendored
Normal file
7987
destrum/third_party/stb/include/stb_image.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1724
destrum/third_party/stb/include/stb_image_write.h
vendored
Normal file
1724
destrum/third_party/stb/include/stb_image_write.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
destrum/third_party/vk-bootstrap
vendored
Submodule
1
destrum/third_party/vk-bootstrap
vendored
Submodule
Submodule destrum/third_party/vk-bootstrap added at 7028d6f652
1
destrum/third_party/vma
vendored
Submodule
1
destrum/third_party/vma
vendored
Submodule
Submodule destrum/third_party/vma added at e722e57c89
1
destrum/third_party/volk
vendored
Submodule
1
destrum/third_party/volk
vendored
Submodule
Submodule destrum/third_party/volk added at bf84ce9573
Reference in New Issue
Block a user