File: setup_msys_makefiles

package info (click to toggle)
plplot 5.10.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 26,280 kB
  • ctags: 13,512
  • sloc: ansic: 83,001; xml: 27,081; ada: 18,878; cpp: 15,966; tcl: 11,651; python: 7,075; f90: 7,058; ml: 6,974; java: 6,665; perl: 5,029; sh: 2,210; makefile: 199; lisp: 75; sed: 25; fortran: 7
file content (40 lines) | stat: -rw-r--r-- 1,601 bytes parent folder | download | duplicates (2)
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
30
31
32
33
34
35
36
37
38
39
40
# This script should be sourced from an MSYS bash environment.  Its
# purpose is to setup environment variables needed to run any standard
# cmake "MSYS Makefiles" build on a Windows platform.

source setup_mingw_msys_wine_toolchain

# Tailor this install location for "MSYS Makefiles" builds to your local needs:
export INSTALL_PREFIX=/z/home/wine/newstart/build_script/install-$WINEVERSION

# End of tailored values.

# Put buildtools that have been built and installed by build_packages on PATH.
PATH=${INSTALL_PREFIX}_buildtools/bin:$PATH

# Put install directory on PATH (so that, e.g., the wxwidgets 
# configuration tool will be found.
PATH=${INSTALL_PREFIX}/bin:$PATH

# Put appropriate buildtools areas on these.
CMAKE_INCLUDE_PATH=${INSTALL_PREFIX}_buildtools/include:$CMAKE_INCLUDE_PATH
CMAKE_LIBRARY_PATH=${INSTALL_PREFIX}_buildtools/lib:$CMAKE_LIBRARY_PATH

# Put version 3 of itcl and friends higher on CMAKE_INCLUDE_PATH then
# the above default.
CMAKE_INCLUDE_PATH=${INSTALL_PREFIX}_buildtools/include/itcl3.4:$CMAKE_INCLUDE_PATH

# Put appropriate install areas on these.
CMAKE_INCLUDE_PATH=${INSTALL_PREFIX}/include:$CMAKE_INCLUDE_PATH
CMAKE_LIBRARY_PATH=${INSTALL_PREFIX}/lib:$CMAKE_LIBRARY_PATH

# Put install-location pkg-config directories at top of PKG_CONFIG_PATH
PKG_CONFIG_PATH=$INSTALL_PREFIX/share/pkgconfig:$INSTALL_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH

# BUILD_COMMAND contains the appropriate build command for this generator.
export BUILD_COMMAND=make

# Put MSYS at the top of the PATH
PATH=$MINGW_PREFIX/msys/1.0/bin/:$PATH

export GENERATOR_STRING="MSYS Makefiles"