summaryrefslogtreecommitdiffstats
path: root/win/tools/kde_env
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitce4a32fe52ef09d8f5ff1dd22c001110902b60a2 (patch)
tree5ac38a06f3dde268dc7927dc155896926aaf7012 /win/tools/kde_env
downloadtdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.tar.gz
tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'win/tools/kde_env')
-rwxr-xr-xwin/tools/kde_env29
1 files changed, 29 insertions, 0 deletions
diff --git a/win/tools/kde_env b/win/tools/kde_env
new file mode 100755
index 000000000..5920eae99
--- /dev/null
+++ b/win/tools/kde_env
@@ -0,0 +1,29 @@
+#!/bin/bash
+#
+# KDElibs/win32 Build Environment
+#
+
+# Copy kde_env_custom.template to kde_env_custom and this it's paths if needed:
+
+source "kde_env_custom" || exit 1
+
+if [ -n "$MSVC" ] ; then
+ export PATH="$MSVC\\bin;$PATH" #to avoid conflict with, say, GNU link
+ export INCLUDE="$MSVC\\include;$INCLUDE"
+fi
+
+# Generic settings
+export KDELIBS=$KDEWIN\\kdelibs # KDElibs/win32 source directory
+export INCLUDE="$KDELIBS\\win;$KDELIBS;$KDELIBS\\kdecore;$KDELIBS\\kdefx;$KDELIBS\\kdeprint;$KDELIBS\\kdeui;$KDELIBS\\kmdi;$KDELIBS\\dcop;$KDELIBS\\kio;$KDELIBS\\kio\\kio;$KDELIBS\\kio\\kfile;$INCLUDE"
+
+# Version information for binaries
+# We're changing this from time to time
+
+export KDE_VER_MAJ=3
+export KDE_VER_MIN=5
+export KDE_VER_PAT=0
+export KDE_VER=$KDE_VER_MAJ$KDE_VER_MIN$KDE_VER_PAT
+
+# Utils
+
+export MAKE="nmake /NOLOGO"