1
0
forked from 0ad/0ad
0ad/build/workspaces/update-workspaces.sh
Ykkrosh 2d4f5478de Added ICC-Linux PCH support in Premake. (It's much more like the MSVC approach than the GCC one.)
Passed --have-std to CxxTest so it always adds the same code before
including precompiled.h, so that the PCH is usable.

This was SVN commit r4736.
2007-01-04 03:22:23 +00:00

25 lines
490 B
Bash
Executable File

#!/bin/sh
# build/workspaces/
start_dir=$(pwd)
premake_dir=$(pwd)/../premake
workspace_dir=$(pwd)/gcc
cd $premake_dir
# build/premake/
./premake --outpath $workspace_dir --atlas $* --target gnu
# These files need to be linked; premake makefiles assume that the
# lua file is accessible from the makefile directory
cd $workspace_dir
ln -f -s $premake_dir/premake.lua $premake_dir/functions.lua .
if [ -x $premake_dir/premake ]; then
ln -f -s $premake_dir/premake .
fi
cd $start_dir