mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-28 05:11:37 +00:00
Don't compile header-only libraries.
This commit is contained in:
parent
623898a33e
commit
7edbaf5f69
4 changed files with 7 additions and 13 deletions
|
|
@ -207,11 +207,14 @@ set(SWA_THIRDPARTY_INCLUDES
|
|||
"${SWA_THIRDPARTY_ROOT}/ddspp"
|
||||
"${SWA_THIRDPARTY_ROOT}/imgui"
|
||||
"${SWA_THIRDPARTY_ROOT}/libmspack/libmspack/mspack"
|
||||
"${SWA_THIRDPARTY_ROOT}/miniaudio"
|
||||
"${SWA_THIRDPARTY_ROOT}/magic_enum/include"
|
||||
"${SWA_THIRDPARTY_ROOT}/miniaudio"
|
||||
"${SWA_THIRDPARTY_ROOT}/stb"
|
||||
"${SWA_THIRDPARTY_ROOT}/tiny-AES-c"
|
||||
"${SWA_THIRDPARTY_ROOT}/TinySHA1"
|
||||
"${SWA_THIRDPARTY_ROOT}/unordered_dense/include"
|
||||
"${SWA_THIRDPARTY_ROOT}/volk"
|
||||
"${SWA_THIRDPARTY_ROOT}/Vulkan-Headers/include"
|
||||
"${SWA_THIRDPARTY_ROOT}/VulkanMemoryAllocator/include"
|
||||
"${SWA_TOOLS_ROOT}/bc_diff"
|
||||
"${SWA_TOOLS_ROOT}/ShaderRecomp/thirdparty/smol-v/source"
|
||||
|
|
@ -298,7 +301,6 @@ endif()
|
|||
target_link_libraries(UnleashedRecomp PRIVATE
|
||||
fmt::fmt
|
||||
libzstd_static
|
||||
magic_enum::magic_enum
|
||||
msdf-atlas-gen::msdf-atlas-gen
|
||||
nfd::nfd
|
||||
o1heap
|
||||
|
|
@ -306,10 +308,7 @@ target_link_libraries(UnleashedRecomp PRIVATE
|
|||
SDL2::SDL2-static
|
||||
tomlplusplus::tomlplusplus
|
||||
UnleashedRecompLib
|
||||
unordered_dense::unordered_dense
|
||||
volk::volk_headers
|
||||
Vorbis::vorbisfile
|
||||
Vulkan::Headers
|
||||
xxHash::xxhash
)
|
||||
|
||||
target_include_directories(UnleashedRecomp PRIVATE
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
#include <xxHashMap.h>
|
||||
|
||||
#if defined(ASYNC_PSO_DEBUG) || defined(PSO_CACHING)
|
||||
#include <magic_enum.hpp>
|
||||
#include <magic_enum/magic_enum.hpp>
|
||||
#endif
|
||||
|
||||
#include "../../tools/ShaderRecomp/ShaderRecomp/shader_common.h"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
//#define ASYNC_PSO_DEBUG
|
||||
//#define PSO_CACHING
|
||||
#define PSO_CACHING
|
||||
|
||||
#include "rhi/plume_render_interface.h"
|
||||
|
||||
|
|
|
|||
7
thirdparty/CMakeLists.txt
vendored
7
thirdparty/CMakeLists.txt
vendored
|
|
@ -1,16 +1,11 @@
|
|||
add_subdirectory("${SWA_THIRDPARTY_ROOT}/magic_enum")
|
||||
|
||||
set(MSDF_ATLAS_BUILD_STANDALONE OFF)
|
||||
set(MSDF_ATLAS_USE_SKIA OFF)
|
||||
set(MSDF_ATLAS_NO_ARTERY_FONT ON)
|
||||
set(MSDFGEN_DISABLE_PNG ON)
|
||||
add_subdirectory("${SWA_THIRDPARTY_ROOT}/msdf-atlas-gen")
|
||||
|
||||
add_subdirectory("${SWA_THIRDPARTY_ROOT}/msdf-atlas-gen")
|
||||
add_subdirectory("${SWA_THIRDPARTY_ROOT}/nativefiledialog-extended")
|
||||
add_subdirectory("${SWA_THIRDPARTY_ROOT}/ogg")
|
||||
add_subdirectory("${SWA_THIRDPARTY_ROOT}/o1heap")
|
||||
add_subdirectory("${SWA_THIRDPARTY_ROOT}/SDL")
|
||||
add_subdirectory("${SWA_THIRDPARTY_ROOT}/unordered_dense")
|
||||
add_subdirectory("${SWA_THIRDPARTY_ROOT}/volk")
|
||||
add_subdirectory("${SWA_THIRDPARTY_ROOT}/vorbis")
|
||||
add_subdirectory("${SWA_THIRDPARTY_ROOT}/Vulkan-Headers")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue