From: Marco Genise Date: Wed, 18 Oct 2006 10:02:49 +0000 (+0000) Subject: Added build support on Windows. X-Git-Tag: 0.1.0~281 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=8a46d2fb3b2f409b80642cd6fe30645017c980bc Added build support on Windows. --- diff --git a/Makefile b/Makefile index 51e4bcc5..3de1c2c7 100644 --- 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 index 00000000..0d0ebdf2 --- /dev/null +++ b/win_build.bat @@ -0,0 +1,15 @@ +@echo off + +rem This is needed to run cmake properly on my system. +rem There are some programs in my $PATH, that inhibit cmake from working correctly. +rem -- kaffeedoktor + +if exist win_prepare.bat CALL win_prepare.bat + +rem Build the whole project +cd build +cmake .. -G "MinGW Makefiles" +mingw32-make +cd .. + +if exist win_restore.bat CALL win_restore.bat