summaryrefslogtreecommitdiffstats
path: root/win/tools/kde_env
blob: 287fef1bb61026a770b414938014a6fcf40bc893 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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\\tdecore;$KDELIBS\\tdefx;$KDELIBS\\tdeprint;$KDELIBS\\tdeui;$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"