nixpkgs/pkgs/development/compilers/visual-c++/builder.sh
Eelco Dolstra 91aebd8616 * A wrapper around the Visual C++ compiler and the Windows SDK.
TODO: download and unpack into the Nix store Visual C++ (either from
  Visual C++ Express Edition or from the .NET 2.0 Framework SDK) and
  the Windows Platform SDK.  The command line tools don't seem to need
  any registry settings...

svn path=/nixpkgs/trunk/; revision=5369
2006-06-02 09:56:10 +00:00

8 lines
270 B
Bash

source $stdenv/setup
ensureDir $out
cat > $out/setup <<EOF
export PATH="$vs8Path/VC/bin:$vs8Path/Common7/IDE:$sdkPath/bin:$PATH"
export LIB="$(cygpath -w -p "$vs8Path/VC/lib:$sdkPath/lib")"
export INCLUDE="$(cygpath -w -p "$sdkPath/include:$sdkPath/include/crt")"
EOF