summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorpetasis <petasis@f3661a36-4baa-549a-d6c7-40e0ffef350e>2009-12-30 15:02:52 (GMT)
committerpetasis <petasis@f3661a36-4baa-549a-d6c7-40e0ffef350e>2009-12-30 15:02:52 (GMT)
commit2d710807f8abc96db81b5b8c978ec81f9d49f625 (patch)
tree0f002f51c5e2f79d854339e6b2096ca8e1bffca7 /cmake
parent94a09edb7a45bd760b58b8467467be1aa38f88a9 (diff)
downloadtkdnd-2d710807f8abc96db81b5b8c978ec81f9d49f625.zip
tkdnd-2d710807f8abc96db81b5b8c978ec81f9d49f625.tar.gz
tkdnd-2d710807f8abc96db81b5b8c978ec81f9d49f625.tar.bz2
CMAKE support
Diffstat (limited to 'cmake')
-rw-r--r--cmake/build.bat33
-rw-r--r--cmake/build.sh9
-rw-r--r--cmake/build64.sh9
3 files changed, 51 insertions, 0 deletions
diff --git a/cmake/build.bat b/cmake/build.bat
new file mode 100644
index 0000000..34604ea
--- /dev/null
+++ b/cmake/build.bat
@@ -0,0 +1,33 @@
+@echo off
+REM ==========================================================================
+REM Run cmake with a suitable (i.e. installed) generator!
+REM ==========================================================================
+REM The following generators are available on this platform:
+REM Borland Makefiles = Generates Borland makefiles.
+REM MSYS Makefiles = Generates MSYS makefiles.
+REM MinGW Makefiles = Generates a make file for use with mingw32-make.
+REM NMake Makefiles = Generates NMake makefiles.
+REM Unix Makefiles = Generates standard UNIX makefiles.
+REM Visual Studio 6 = Generates Visual Studio 6 project files.
+REM Visual Studio 7 = Generates Visual Studio .NET 2002 project files.
+REM Visual Studio 7 .NET 2003 = Generates Visual Studio .NET 2003 project files.
+REM Visual Studio 8 2005 = Generates Visual Studio .NET 2005 project files.
+REM Visual Studio 8 2005 Win64 = Generates Visual Studio .NET 2005 Win64 project files.
+REM Visual Studio 9 2008 = Generates Visual Studio 9 2008 project files.
+REM Visual Studio 9 2008 Win64 = Generates Visual Studio 9 2008 Win64 project files.
+REM Watcom WMake = Generates Watcom WMake makefiles.
+REM CodeBlocks - MinGW Makefiles = Generates CodeBlocks project files.
+REM CodeBlocks - Unix Makefiles = Generates CodeBlocks project files.
+REM Eclipse CDT4 - MinGW Makefiles = Generates Eclipse CDT 4.0 project files.
+REM Eclipse CDT4 - NMake Makefiles = Generates Eclipse CDT 4.0 project files.
+REM Eclipse CDT4 - Unix Makefiles = Generates Eclipse CDT 4.0 project files.
+
+mkdir debug-nmake-win32
+cd debug-nmake-win32
+cmake -G "NMake Makefiles" -D CMAKE_BUILD_TYPE=Debug -D CMAKE_INSTALL_PREFIX=../runtime ..\..
+cd ..
+
+mkdir release-nmake-win32
+cd release-nmake-win32
+cmake -G "NMake Makefiles" -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=../runtime ..\..
+cd ..
diff --git a/cmake/build.sh b/cmake/build.sh
new file mode 100644
index 0000000..75cc53d
--- /dev/null
+++ b/cmake/build.sh
@@ -0,0 +1,9 @@
+mkdir debug-nmake-x86_32
+cd debug-nmake-x86_32
+cmake -G "Unix Makefiles" -D CMAKE_BUILD_TYPE=Debug -D PKG_OS_ARCH=x86_32 -D CMAKE_INSTALL_PREFIX=../runtime ../..
+cd ..
+
+mkdir release-nmake-x86_32
+cd release-nmake-x86_32
+cmake -G "Unix Makefiles" -D CMAKE_BUILD_TYPE=Release -D PKG_OS_ARCH=x86_32 -D CMAKE_INSTALL_PREFIX=../runtime ../..
+cd ..
diff --git a/cmake/build64.sh b/cmake/build64.sh
new file mode 100644
index 0000000..98ec17e
--- /dev/null
+++ b/cmake/build64.sh
@@ -0,0 +1,9 @@
+mkdir debug-nmake-x86_64
+cd debug-nmake-x86_64
+cmake -G "Unix Makefiles" -D CMAKE_BUILD_TYPE=Debug -D PKG_OS_ARCH=x86_64 -D CMAKE_INSTALL_PREFIX=../runtime ../..
+cd ..
+
+mkdir release-nmake-x86_64
+cd release-nmake-x86_64
+cmake -G "Unix Makefiles" -D CMAKE_BUILD_TYPE=Release -D PKG_OS_ARCH=x86_64 -D CMAKE_INSTALL_PREFIX=../runtime ../..
+cd ..