forked from mirrors/0ad
Generate sources in workspace
Modify our cxxtest module so that it generates sources in the configured build directory instead of the source tree. This simplifies cleaning build output and .gitignore. Make test_root.cpp a build target so it doesn't have to be generated on each run. This means no more building and linking into test target unless needed either. Unfortunately there is no source for test_root.cpp and an update to cxxtest might require a manual make clean. Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
# This script remains for backwards compatibility, but consists of a single
|
||||
# git command.
|
||||
|
||||
cd "$(dirname "$0")/../../" || exit 1
|
||||
git clean -fx build source
|
||||
cd "$(dirname "$0")" || exit 1
|
||||
git clean -fx .
|
||||
|
||||
echo "WARNING: This script has been split with libraries/clean-source-libs.sh"
|
||||
echo "If you want to fix a problem with bundled libs, it's the other script"
|
||||
|
||||
Reference in New Issue
Block a user