Added build support on Windows.
authorMarco Genise <kaffeedoktor@quassel-irc.org>
Wed, 18 Oct 2006 10:02:49 +0000 (10:02 +0000)
committerMarco Genise <kaffeedoktor@quassel-irc.org>
Wed, 18 Oct 2006 10:02:49 +0000 (10:02 +0000)
Makefile
win_build.bat [new file with mode: 0644]

index 51e4bcc..3de1c2c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,3 +18,9 @@ default:
 
 run_cmake:
        cd build && cmake .. && make
+
+# I need the prepare/restore at my system, because I have to alter the $PATH
+# temporarily. Because it's very system dependent, I didn't include the files.
+# -- kaffeedoktor
+build_windows:
+       win_build.bat
diff --git a/win_build.bat b/win_build.bat
new file mode 100644 (file)
index 0000000..0d0ebdf
--- /dev/null
@@ -0,0 +1,15 @@
+@echo off\r
+\r
+rem This is needed to run cmake properly on my system.\r
+rem There are some programs in my $PATH, that inhibit cmake from working correctly.\r
+rem -- kaffeedoktor\r
+\r
+if exist win_prepare.bat CALL win_prepare.bat\r
+\r
+rem Build the whole project\r
+cd build\r
+cmake .. -G "MinGW Makefiles"\r
+mingw32-make\r
+cd ..\r
+       \r
+if exist win_restore.bat CALL win_restore.bat\r