aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-09-25 15:25:55 +0200
committerStapleButter <thetotalworm@gmail.com>2017-09-25 15:25:55 +0200
commit2084bacc22843cb74e6d0ae85115e2acd3ad92fb (patch)
treec66033f50d5b9365e4496bcd769bf246cc64d1f8
parent172babe9d0a2ae2351b6fe61f0900883b1df15fc (diff)
setup DebugFast target. remove console from Release. axe Linux targets.
-rw-r--r--melonDS.cbp470
1 files changed, 75 insertions, 395 deletions
diff --git a/melonDS.cbp b/melonDS.cbp
index f67bf6d..0f1dce7 100644
--- a/melonDS.cbp
+++ b/melonDS.cbp
@@ -41,7 +41,7 @@
<Option platforms="Windows;" />
<Option output="bin/Release/melonDS" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
- <Option type="1" />
+ <Option type="0" />
<Option compiler="gcc" />
<Compiler>
<Add option="-O3" />
@@ -69,76 +69,36 @@
<Add library="usp10" />
</Linker>
</Target>
- <Target title="Debug Linux">
- <Option platforms="Unix;" />
- <Option output="bin/Debug/melonDS" prefix_auto="1" extension_auto="1" />
- <Option object_output="obj/Debug/" />
- <Option type="1" />
- <Option compiler="gcc" />
- <Compiler>
- <Add option="-g" />
- <Add option="-m64" />
- <Add option="-I$(TARGET_COMPILER_DIR)/lib/wx/include/gtk2-unicode-static-3.0" />
- <Add option="-I$(TARGET_COMPILER_DIR)/include/wx-3.0" />
- <Add option="-D_FILE_OFFSET_BITS=64" />
- <Add option="-D__WXGTK__" />
- </Compiler>
- <Linker>
- <Add option="-m64" />
- </Linker>
- </Target>
- <Target title="Release Linux">
- <Option platforms="Unix;" />
- <Option output="bin/Release/melonDS" prefix_auto="1" extension_auto="1" />
- <Option object_output="obj/Release/" />
- <Option type="1" />
- <Option compiler="gcc" />
- <Compiler>
- <Add option="-O2" />
- <Add option="-m64" />
- </Compiler>
- <Linker>
- <Add option="-s" />
- <Add option="-m64" />
- </Linker>
- </Target>
- <Target title="Profile Windows">
+ <Target title="DebugFast Windows">
<Option platforms="Windows;" />
- <Option output="bin/Release/melonDS" prefix_auto="1" extension_auto="1" />
- <Option object_output="obj/Release/" />
+ <Option output="bin/DebugFast/melonDS" prefix_auto="1" extension_auto="1" />
+ <Option object_output="obj/DebugFast/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
- <Add option="-O2" />
+ <Add option="-O3" />
<Add option="-m64" />
<Add option="-I$(TARGET_COMPILER_DIR)/lib/wx/include/msw-unicode-static-3.0" />
<Add option="-I$(TARGET_COMPILER_DIR)/include/wx-3.0" />
- <Add option="-gdwarf-2" />
<Add option="-D_FILE_OFFSET_BITS=64" />
<Add option="-D__WXMSW__" />
</Compiler>
<Linker>
+ <Add option="-s" />
<Add option="-m64" />
- <Add library=":libwx_mswu_core-3.0.a" />
- <Add library=":libwx_baseu-3.0.a" />
<Add library="SDL2" />
- <Add library=":libpng.a" />
- <Add library=":libjpeg.a" />
- <Add library=":libtiff.a" />
- <Add library=":libz.a" />
- <Add library="rpcrt4" />
- <Add library="oleaut32" />
- <Add library="ole32" />
- <Add library="uuid" />
- <Add library="winspool" />
- <Add library="winmm" />
<Add library="shell32" />
<Add library="comctl32" />
<Add library="comdlg32" />
<Add library="advapi32" />
<Add library="wsock32" />
<Add library="oleacc" />
+ <Add library="ole32" />
<Add library="gdi32" />
+ <Add library="d2d1" />
+ <Add library="dwrite" />
+ <Add library="uxtheme" />
+ <Add library="usp10" />
</Linker>
</Target>
</Build>
@@ -149,9 +109,6 @@
</Compiler>
<Unit filename="melon.rc">
<Option compilerVar="WINDRES" />
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
</Unit>
<Unit filename="src/ARM.cpp" />
<Unit filename="src/ARM.h" />
@@ -196,369 +153,92 @@
<Unit filename="src/libui_sdl/Platform.cpp" />
<Unit filename="src/libui_sdl/libui/common/areaevents.c">
<Option compilerVar="CC" />
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
</Unit>
<Unit filename="src/libui_sdl/libui/common/control.c">
<Option compilerVar="CC" />
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/common/controlsigs.h">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
</Unit>
+ <Unit filename="src/libui_sdl/libui/common/controlsigs.h" />
<Unit filename="src/libui_sdl/libui/common/debug.c">
<Option compilerVar="CC" />
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
</Unit>
<Unit filename="src/libui_sdl/libui/common/matrix.c">
<Option compilerVar="CC" />
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
</Unit>
<Unit filename="src/libui_sdl/libui/common/shouldquit.c">
<Option compilerVar="CC" />
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/common/uipriv.h">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
</Unit>
+ <Unit filename="src/libui_sdl/libui/common/uipriv.h" />
<Unit filename="src/libui_sdl/libui/common/userbugs.c">
<Option compilerVar="CC" />
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/ui.h">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/ui_windows.h">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/_uipriv_migrate.hpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/alloc.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/area.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/area.hpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/areadraw.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/areaevents.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/areascroll.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/areautil.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/box.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/button.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/checkbox.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/colorbutton.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/colordialog.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/combobox.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/compilerver.hpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/container.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/control.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/d2dscratch.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/datetimepicker.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/debug.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/draw.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/draw.hpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/drawmatrix.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/drawpath.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/drawtext.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/dwrite.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/editablecombo.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/entry.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/events.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/fontbutton.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/fontdialog.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/form.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/graphemes.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/grid.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/group.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/init.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/label.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/main.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/menu.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/multilineentry.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/parent.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/progressbar.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/radiobuttons.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/resources.hpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
</Unit>
+ <Unit filename="src/libui_sdl/libui/ui.h" />
+ <Unit filename="src/libui_sdl/libui/ui_windows.h" />
+ <Unit filename="src/libui_sdl/libui/windows/_uipriv_migrate.hpp" />
+ <Unit filename="src/libui_sdl/libui/windows/alloc.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/area.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/area.hpp" />
+ <Unit filename="src/libui_sdl/libui/windows/areadraw.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/areaevents.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/areascroll.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/areautil.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/box.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/button.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/checkbox.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/colorbutton.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/colordialog.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/combobox.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/compilerver.hpp" />
+ <Unit filename="src/libui_sdl/libui/windows/container.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/control.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/d2dscratch.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/datetimepicker.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/debug.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/draw.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/draw.hpp" />
+ <Unit filename="src/libui_sdl/libui/windows/drawmatrix.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/drawpath.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/drawtext.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/dwrite.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/editablecombo.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/entry.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/events.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/fontbutton.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/fontdialog.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/form.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/graphemes.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/grid.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/group.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/init.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/label.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/main.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/menu.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/multilineentry.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/parent.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/progressbar.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/radiobuttons.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/resources.hpp" />
<Unit filename="src/libui_sdl/libui/windows/resources.rc">
<Option compilerVar="WINDRES" />
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/separator.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/sizing.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/slider.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/spinbox.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/stddialogs.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/tab.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/tabpage.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/text.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/uipriv_windows.hpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/utf16.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/utilwin.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/winapi.hpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/window.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/winpublic.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
- <Unit filename="src/libui_sdl/libui/windows/winutil.cpp">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
</Unit>
+ <Unit filename="src/libui_sdl/libui/windows/separator.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/sizing.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/slider.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/spinbox.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/stddialogs.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/tab.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/tabpage.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/text.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/uipriv_windows.hpp" />
+ <Unit filename="src/libui_sdl/libui/windows/utf16.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/utilwin.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/winapi.hpp" />
+ <Unit filename="src/libui_sdl/libui/windows/window.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/winpublic.cpp" />
+ <Unit filename="src/libui_sdl/libui/windows/winutil.cpp" />
<Unit filename="src/libui_sdl/main.cpp" />
<Unit filename="src/types.h" />
<Unit filename="src/version.h" />
- <Unit filename="xp.manifest">
- <Option target="Debug Windows" />
- <Option target="Release Windows" />
- <Option target="Profile Windows" />
- </Unit>
+ <Unit filename="xp.manifest" />
<Extensions>
<code_completion />
<envvars />