diff options
| author | untodesu <kirill@untode.su> | 2025-06-28 01:59:49 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-06-28 01:59:49 +0500 |
| commit | 61e5bcef2629e2d68b805a956a96fff264d4f74d (patch) | |
| tree | bca3a94bac79d34e3c0db57c77604f5a823ecbda /deps/dr_libs/CMakeLists.txt | |
| parent | 88c01588aa0830e219eaa62588839e4d1e2883ce (diff) | |
| download | voxelius-61e5bcef2629e2d68b805a956a96fff264d4f74d.tar.bz2 voxelius-61e5bcef2629e2d68b805a956a96fff264d4f74d.zip | |
Restructure dependencies and update to C++20
- Nuked static_assert from almost everywhere in the project
- Nuked binary dependency support. Might add one later though
- Separated dependency headers into a separate include subdirectory
- Grafted a thirdpartylegalnotices.txt generator from RITEG
- Pushed development snapshot version to 2126 (26th week of 2025)
Diffstat (limited to 'deps/dr_libs/CMakeLists.txt')
| -rw-r--r-- | deps/dr_libs/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/deps/dr_libs/CMakeLists.txt b/deps/dr_libs/CMakeLists.txt new file mode 100644 index 0000000..7162cbb --- /dev/null +++ b/deps/dr_libs/CMakeLists.txt @@ -0,0 +1,9 @@ +add_library(dr_libs STATIC + "${CMAKE_CURRENT_LIST_DIR}/include/dr_mp3.h" + "${CMAKE_CURRENT_LIST_DIR}/include/dr_wav.h" + "${CMAKE_CURRENT_LIST_DIR}/src/dr_impl.c") +target_compile_definitions(dr_libs PRIVATE _CRT_SECURE_NO_WARNINGS) +target_compile_definitions(dr_libs PUBLIC DR_WAV_NO_STDIO DR_WAV_NO_WCHAR) +target_compile_definitions(dr_libs PUBLIC DR_MP3_NO_STDIO) +target_include_directories(dr_libs PUBLIC "${CMAKE_CURRENT_LIST_DIR}/include") +set_target_properties(dr_libs PROPERTIES FOLDER Dependencies) |
