Files
Vita3K/vita3k/util/CMakeLists.txt
T
KorewaWatchful 85cb48046f gui: themes and qss refactor
# Conflicts:
#	.github/workflows/c-cpp.yml
#	.github/workflows/codeql-analysis.yml
#	vita3k/gui-qt/src/controls_dialog.cpp
2026-05-22 20:43:59 -04:00

28 lines
781 B
CMake

add_library(
util
STATIC
src/android_driver.cpp
src/arm.cpp
src/byte.cpp
src/float_to_half.cpp
src/fs_utils.cpp
src/hash.cpp
src/instrset_detect.cpp
src/logging.cpp
src/net_utils.cpp
src/string_utils.cpp
src/tracy.cpp
src/vita_theme_utils.cpp
)
# vc_runtime_checker.cpp is directly added from the main CMakeList (for some reason adding it here doesn't work)
target_include_directories(util PUBLIC include)
target_link_libraries(util PUBLIC ${Boost_LIBRARIES} fmt spdlog http mem)
target_link_libraries(util PRIVATE libcurl crypto SDL3::SDL3)
if(ANDROID)
target_link_libraries(util PUBLIC emuenv android xxHash::xxhash)
target_link_libraries(util PRIVATE adrenotools)
endif()
target_compile_definitions(util PRIVATE $<$<CONFIG:Debug,RelWithDebInfo>:TRACY_ENABLE>)