1
0
mirror of https://github.com/ScrelliCopter/VGM-Tools synced 2025-02-21 04:09:25 +11:00

combine all (except spctools) as subprojects

This commit is contained in:
2023-03-21 14:25:14 +11:00
parent 05008f5c47
commit 9946144995
8 changed files with 50 additions and 53 deletions

8
common/CMakeLists.txt Normal file
View File

@@ -0,0 +1,8 @@
add_library(headers INTERFACE)
add_library(Common::headers ALIAS headers)
target_include_directories(headers INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
add_library(wave endian.h wave.h wave.c wavefile.c)
add_library(Common::wave ALIAS wave)
target_compile_options(wave PRIVATE ${WARNINGS})
target_link_libraries(wave PUBLIC headers)