mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
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>
15 lines
528 B
Bash
Executable file
15 lines
528 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# This script remains for backwards compatibility, but consists of a single
|
|
# git command.
|
|
|
|
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"
|
|
echo "you want to invoke."
|
|
|
|
echo "WARNING: This script is deprecated and might be removed in a future"
|
|
echo "release. You can run 'git clean -f build source' from the repository"
|
|
echo "root to clean up build workspaces."
|