Commit 3ac78b3f authored by Mark Olesen's avatar Mark Olesen

STYLE: relocate Allwmake-scan to src/

- reduced clutter. Mostly only need to scan source tree.

- 00-dummy: use wmake/src/Allmake to get native (not cross-compiled)
  wmake toolchain binaries
parent b32c0bc9
......@@ -3,7 +3,7 @@ cd ${0%/*} || exit 1 # Run from this directory
# Can never be too certain ...
# Compile tools for wmake
( cd "${WM_DIR:-${WM_PROJECT_DIR}/wmake}/src" && make )
( cd "${WM_DIR:-${WM_PROJECT_DIR}/wmake}/src" && ./Allmake )
#------------------------------------------------------------------------------
......
#!/bin/sh
# Allwmake with scan-build (clang)
c_compiler="$(command -v "$(wmake -show-c)")"
cxx_compiler="$(command -v "$(wmake -show-cxx)")"
command -v scan-build > /dev/null || {
exec 1>&2
echo "No scan-build found, stopping"
echo
exit 2
}
set -x
comp_cc="$(command -v "$(wmake -show-c)")"
comp_cxx="$(command -v "$(wmake -show-cxx)")"
scan-build --use-cc="$c_compiler" --use-c++="$cxx_compiler" \
set -x
scan-build --use-cc="$comp_cc" --use-c++="$comp_cxx" \
./Allwmake "$@"
#------------------------------------------------------------------------------
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment