mirror of https://github.com/zeldaret/tmc.git
moved agb2mid
This commit is contained in:
parent
bc4a8577f3
commit
ab6b5a21ce
|
|
@ -0,0 +1,2 @@
|
|||
bin
|
||||
cmake-build*
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
cmake_minimum_required(VERSION 3.14)
|
||||
project(tmctooltest)
|
||||
project(tools)
|
||||
include(FetchContent)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
agb2mid
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
CXX := g++
|
||||
|
||||
CXXFLAGS := -std=c++11 -O2 -Wall -Wno-switch -Werror -g
|
||||
|
||||
SRCS := agb.cpp error.cpp main.cpp midi.cpp tables.cpp
|
||||
|
||||
HEADERS := agb.h error.h main.h midi.h tables.h
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
all: agb2mid
|
||||
@:
|
||||
|
||||
agb2mid: $(SRCS) $(HEADERS)
|
||||
$(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
$(RM) agb2mid agb2mid.exe
|
||||
|
|
@ -1 +1,2 @@
|
|||
add_subdirectory(agb2mid)
|
||||
add_subdirectory(asset_processor)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
file(GLOB_RECURSE sources *.cpp)
|
||||
|
||||
add_executable(agb2mid ${sources})
|
||||
target_include_directories(agb2mid PRIVATE .)
|
||||
|
||||
install(TARGETS agb2mid RUNTIME DESTINATION bin)
|
||||
|
|
@ -3,3 +3,5 @@ file(GLOB_RECURSE sources *.cpp)
|
|||
add_executable(asset_processor ${sources})
|
||||
target_include_directories(asset_processor PRIVATE .)
|
||||
target_link_libraries(asset_processor PRIVATE nlohmann_json::nlohmann_json filesystem)
|
||||
|
||||
install(TARGETS asset_processor RUNTIME DESTINATION bin)
|
||||
|
|
|
|||
Loading…
Reference in New Issue