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

neotools: fuck it, we CMake now

This commit is contained in:
2020-05-26 10:29:57 +10:00
parent 08b61568e1
commit 6456404bd3
5 changed files with 21 additions and 83 deletions

18
neotools/CMakeLists.txt Normal file
View File

@@ -0,0 +1,18 @@
project(neoadpcmtools)
cmake_minimum_required(VERSION "3.1" FATAL_ERROR)
add_executable(adpcm adpcm.c)
target_compile_options(adpcm PRIVATE
-fomit-frame-pointer -Werror -Wall
-W -Wno-sign-compare -Wno-unused
-Wpointer-arith -Wbad-function-cast -Wcast-align -Waggregate-return
-pedantic
-Wshadow
-Wstrict-prototypes)
target_link_libraries(adpcm m)
add_executable(adpcmb adpcmb.c)
add_executable(neoadpcmextract autoextract.c neoadpcmextract.c)
set_property(TARGET neoadpcmextract PROPERTY C_STANDARD 99)
target_compile_options(neoadpcmextract PRIVATE -Wall -Wextra -pedantic)