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:
8
common/CMakeLists.txt
Normal file
8
common/CMakeLists.txt
Normal 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)
|
||||
Reference in New Issue
Block a user