Migrate to buildtools.
This commit is contained in:
parent
47bf2830d8
commit
b7ff175dba
6 changed files with 59 additions and 10 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -1,2 +1,5 @@
|
|||
.idea
|
||||
build
|
||||
CMakeLists.txt
|
||||
|
||||
build
|
||||
output
|
||||
|
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "buildtools"]
|
||||
path = buildtools
|
||||
url = git://github.com/Steveice10/buildtools
|
|
@ -1,7 +0,0 @@
|
|||
cmake_minimum_required(VERSION 2.8.4)
|
||||
project(bannertool)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
|
||||
set(SOURCE_FILES source/main.cpp source/cmd.cpp source/pc/wav.cpp source/3ds/cbmd.cpp source/3ds/cwav.cpp source/3ds/lz11.cpp source/3ds/util.cpp source/pc/lodepng.cpp)
|
||||
add_executable(bannertool ${SOURCE_FILES})
|
50
Makefile
Normal file
50
Makefile
Normal file
|
@ -0,0 +1,50 @@
|
|||
# TARGET #
|
||||
|
||||
TARGET := PC
|
||||
LIBRARY := 0
|
||||
|
||||
ifeq ($(TARGET),3DS)
|
||||
ifeq ($(strip $(DEVKITPRO)),)
|
||||
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro")
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(DEVKITARM)),)
|
||||
$(error "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM")
|
||||
endif
|
||||
endif
|
||||
|
||||
# COMMON CONFIGURATION #
|
||||
|
||||
NAME := bannertool
|
||||
|
||||
BUILD_DIR := build
|
||||
OUTPUT_DIR := output
|
||||
INCLUDE_DIRS := include
|
||||
SOURCE_DIRS := source
|
||||
|
||||
EXTRA_OUTPUT_FILES :=
|
||||
|
||||
LIBRARY_DIRS :=
|
||||
LIBRARIES :=
|
||||
|
||||
BUILD_FLAGS := -Wno-unused-result -Wno-sign-compare
|
||||
RUN_FLAGS :=
|
||||
|
||||
# 3DS CONFIGURATION #
|
||||
|
||||
DESCRIPTION :=
|
||||
AUTHOR :=
|
||||
PRODUCT_CODE :=
|
||||
UNIQUE_ID :=
|
||||
|
||||
SYSTEM_MODE :=
|
||||
SYSTEM_MODE_EXT :=
|
||||
|
||||
ROMFS_DIR :=
|
||||
BANNER_AUDIO :=
|
||||
BANNER_IMAGE :=
|
||||
ICON :=
|
||||
|
||||
# INTERNAL #
|
||||
|
||||
include buildtools/make_base
|
|
@ -1,4 +1,3 @@
|
|||
<b><center>bannertool</center></b>
|
||||
==========
|
||||
# bannertool
|
||||
|
||||
A tool for creating 3DS banners.
|
||||
|
|
1
buildtools
Submodule
1
buildtools
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 2b464d8e90ba23ae6233e517eb7ec22fb797f880
|
Loading…
Reference in a new issue