-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
2,258 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | ||
<CodeBlocks_project_file> | ||
<FileVersion major="1" minor="6" /> | ||
<Project> | ||
<Option title="3DS" /> | ||
<Option makefile_is_custom="1" /> | ||
<Option pch_mode="2" /> | ||
<Option compiler="gcc" /> | ||
<Build> | ||
<Target title="release"> | ||
<Option type="4" /> | ||
<Option compiler="gcc" /> | ||
<MakeCommands> | ||
<Build command="$make -f $makefile" /> | ||
<CompileFile command="$make -f $makefile source/$file" /> | ||
<Clean command="$make -f $makefile clean" /> | ||
<DistClean command="$make -f $makefile distclean$target" /> | ||
<AskRebuildNeeded command="$make -q -f $makefile $target" /> | ||
<SilentBuild command="$make -f $makefile > $(CMD_NULL)" /> | ||
</MakeCommands> | ||
</Target> | ||
<Target title="3dsx"> | ||
<Option type="4" /> | ||
<Option compiler="gcc" /> | ||
<Compiler> | ||
<Add option="-O2" /> | ||
</Compiler> | ||
<Linker> | ||
<Add option="-s" /> | ||
</Linker> | ||
<MakeCommands> | ||
<Build command="$make -f $makefile $target" /> | ||
<CompileFile command="$make -f $makefile source/$file" /> | ||
<Clean command="$make -f $makefile clean" /> | ||
<DistClean command="$make -f $makefile distclean$target" /> | ||
<AskRebuildNeeded command="$make -q -f $makefile $target" /> | ||
<SilentBuild command="$make -f $makefile $target > $(CMD_NULL)" /> | ||
</MakeCommands> | ||
</Target> | ||
<Target title="cia"> | ||
<Option type="4" /> | ||
<Option compiler="gcc" /> | ||
<MakeCommands> | ||
<Build command="$make -f $makefile $target" /> | ||
<CompileFile command="$make -f $makefile source/$file" /> | ||
<Clean command="$make -f $makefile clean" /> | ||
<DistClean command="$make -f $makefile distclean$target" /> | ||
<AskRebuildNeeded command="$make -q -f $makefile $target" /> | ||
<SilentBuild command="$make -f $makefile $target > $(CMD_NULL)" /> | ||
</MakeCommands> | ||
</Target> | ||
<Target title="3ds"> | ||
<Option type="4" /> | ||
<Option compiler="gcc" /> | ||
<MakeCommands> | ||
<Build command="$make -f $makefile $target" /> | ||
<CompileFile command="$make -f $makefile source/$file" /> | ||
<Clean command="$make -f $makefile clean" /> | ||
<DistClean command="$make -f $makefile distclean$target" /> | ||
<AskRebuildNeeded command="$make -q -f $makefile $target" /> | ||
<SilentBuild command="$make -f $makefile $target > $(CMD_NULL)" /> | ||
</MakeCommands> | ||
</Target> | ||
<Target title="elf"> | ||
<Option type="4" /> | ||
<Option compiler="gcc" /> | ||
<MakeCommands> | ||
<Build command="$make -f $makefile $target" /> | ||
<CompileFile command="$make -f $makefile source/$file" /> | ||
<Clean command="$make -f $makefile clean" /> | ||
<DistClean command="$make -f $makefile distclean$target" /> | ||
<AskRebuildNeeded command="$make -q -f $makefile $target" /> | ||
<SilentBuild command="$make -f $makefile $target > $(CMD_NULL)" /> | ||
</MakeCommands> | ||
</Target> | ||
<Target title="citra"> | ||
<Option type="4" /> | ||
<Option compiler="gcc" /> | ||
<MakeCommands> | ||
<Build command="$make -f $makefile $target" /> | ||
<CompileFile command="$make -f $makefile source/$file" /> | ||
<Clean command="$make -f $makefile clean" /> | ||
<DistClean command="$make -f $makefile distclean$target" /> | ||
<AskRebuildNeeded command="$make -q -f $makefile $target" /> | ||
<SilentBuild command="$make -f $makefile $target > $(CMD_NULL)" /> | ||
</MakeCommands> | ||
</Target> | ||
<Target title="3dsxlink"> | ||
<Option type="4" /> | ||
<Option compiler="gcc" /> | ||
<Compiler> | ||
<Add option="-O2" /> | ||
</Compiler> | ||
<Linker> | ||
<Add option="-s" /> | ||
</Linker> | ||
<MakeCommands> | ||
<Build command="$make -f $makefile $target" /> | ||
<CompileFile command="$make -f $makefile source/$file" /> | ||
<Clean command="$make -f $makefile clean" /> | ||
<DistClean command="$make -f $makefile distclean$target" /> | ||
<AskRebuildNeeded command="$make -q -f $makefile $target" /> | ||
<SilentBuild command="$make -f $makefile $target > $(CMD_NULL)" /> | ||
</MakeCommands> | ||
</Target> | ||
<Target title="spunch"> | ||
<Option type="4" /> | ||
<Option compiler="gcc" /> | ||
<Compiler> | ||
<Add option="-O2" /> | ||
</Compiler> | ||
<Linker> | ||
<Add option="-s" /> | ||
</Linker> | ||
<MakeCommands> | ||
<Build command="$make -f $makefile $target" /> | ||
<CompileFile command="$make -f $makefile source/$file" /> | ||
<Clean command="$make -f $makefile clean" /> | ||
<DistClean command="$make -f $makefile distclean$target" /> | ||
<AskRebuildNeeded command="$make -q -f $makefile $target" /> | ||
<SilentBuild command="$make -f $makefile $target > $(CMD_NULL)" /> | ||
</MakeCommands> | ||
</Target> | ||
</Build> | ||
<Compiler> | ||
<Add option="-Wall" /> | ||
</Compiler> | ||
<Unit filename="Makefile"> | ||
<Option target="3dsx" /> | ||
<Option target="citra" /> | ||
<Option target="3dsxlink" /> | ||
<Option target="spunch" /> | ||
</Unit> | ||
<Unit filename="resources/AppInfo" /> | ||
<Unit filename="source/main.cpp"> | ||
<Option target="3dsx" /> | ||
<Option target="citra" /> | ||
<Option target="3dsxlink" /> | ||
<Option target="spunch" /> | ||
</Unit> | ||
<Extensions> | ||
<code_completion /> | ||
<envvars /> | ||
<lib_finder disable_auto="1" /> | ||
<debugger /> | ||
</Extensions> | ||
</Project> | ||
</CodeBlocks_project_file> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
cmake_minimum_required(VERSION 3.7) | ||
project(3DSBuildTemplate) | ||
|
||
set(CMAKE_CXX_STANDARD 11) | ||
|
||
set(SOURCE_FILES | ||
source/main.h | ||
source/main.cpp | ||
source/graphics/Output.h | ||
source/graphics/Output.cpp) | ||
|
||
# Specify external includes here | ||
include_directories($ENV{DEVKITARM}/include/) | ||
include_directories($ENV{DEVKITARM}/arm-none-eabi/include) | ||
include_directories($ENV{DEVKITPRO}/libctru/include) | ||
include_directories($ENV{DEVKITARM}/arm-none-eabi/include/c++/7.1.0) | ||
|
||
add_executable(3DSBuildTemplate ${SOURCE_FILES}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.