summaryrefslogtreecommitdiff
path: root/premake/README-mingw.txt
diff options
context:
space:
mode:
authorRyan C. Gordon <icculus@icculus.org>2013-11-10 00:38:37 -0500
committerRyan C. Gordon <icculus@icculus.org>2013-11-10 00:38:37 -0500
commit15067b478053644b1cb25eb67892c291e9f110a4 (patch)
treeb1c3691b0b616901424692ef2b8c740cd94cb406 /premake/README-mingw.txt
parent7a1469df33eaa161fdda926011ef90d9c1e4e691 (diff)
downloadsdl-15067b478053644b1cb25eb67892c291e9f110a4.tar.gz
Added Ben Henning's GSoC2013 work: premake build system.
Diffstat (limited to 'premake/README-mingw.txt')
-rwxr-xr-xpremake/README-mingw.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/premake/README-mingw.txt b/premake/README-mingw.txt
new file mode 100755
index 000000000..8eb90c34e
--- /dev/null
+++ b/premake/README-mingw.txt
@@ -0,0 +1,39 @@
+MinGW requires both the MinGW system and MSYS.
+
+There is a script for generating a series of GNU makefiles targeted
+at MinGW on Windows. These makefiles will build the SDL library and
+test executables with static links to libgcc and the same features
+as the Visual Studio builds. That is, they have full OpenGL support
+and they have no dependency on MinGW.
+
+After generating the scripts, simply navigate to the directory in
+a MSYS terminal and execute:
+
+ make
+
+If you wish to clean the directory, you can use either the clean
+batch file, or call:
+
+ make clean
+
+The former will remove the actual makefiles and the latter will
+perform a typical clean operation. You can target specific
+build configurations as such:
+
+ make config=debug
+
+Verbosity is initially set to off. All verbosity controls is
+whether the resulting gcc and ar commands are printed to the
+console. You can enable verbose output by setting verbose to any
+value:
+
+ make verbose=1
+
+There is currently no install target, but that is intended
+eventually.
+
+Ben:
+There is no DirectX support currently, but you can use the
+command option '--directx' when generating the makefiles to
+explicitly force the DirectX dependency on. This may have
+undefined behavior, so use it cautiously. \ No newline at end of file