mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[CONFIGURE]
Addendum to r69601: host-tools are "no longer required" but actually still exist. Add the CMakeCache cleanup for them. svn path=/trunk/; revision=71204
This commit is contained in:
@@ -214,6 +214,7 @@ if "%NEW_STYLE_BUILD%"=="0" (
|
||||
|
||||
if EXIST CMakeCache.txt (
|
||||
del CMakeCache.txt /q
|
||||
del host-tools\CMakeCache.txt /q
|
||||
)
|
||||
|
||||
if "%NEW_STYLE_BUILD%"=="0" (
|
||||
|
||||
@@ -52,7 +52,7 @@ fi
|
||||
|
||||
mkdir -p reactos
|
||||
|
||||
EXTRA_ARGS=""
|
||||
#EXTRA_ARGS=""
|
||||
if [ $USE_NEW_STYLE -eq 0 ]; then
|
||||
mkdir -p host-tools
|
||||
echo Preparing host tools...
|
||||
@@ -62,14 +62,14 @@ if [ $USE_NEW_STYLE -eq 0 ]; then
|
||||
REACTOS_BUILD_TOOLS_DIR="$PWD"
|
||||
cmake -G "$CMAKE_GENERATOR" -DARCH:STRING=$ARCH $ROS_CMAKEOPTS -DNEW_STYLE_BUILD:BOOL=0 "$REACTOS_SOURCE_DIR"
|
||||
|
||||
EXTRA_ARGS="-DREACTOS_BUILD_TOOLS_DIR:PATH=$REACTOS_BUILD_TOOLS_DIR"
|
||||
EXTRA_ARGS="$EXTRA_ARGS -DREACTOS_BUILD_TOOLS_DIR:PATH=$REACTOS_BUILD_TOOLS_DIR"
|
||||
|
||||
cd ..
|
||||
fi
|
||||
|
||||
echo Preparing reactos...
|
||||
cd reactos
|
||||
rm -f CMakeCache.txt
|
||||
rm -f CMakeCache.txt host-tools/CMakeCache.txt
|
||||
|
||||
cmake -G "$CMAKE_GENERATOR" -DENABLE_CCACHE:BOOL=0 -DCMAKE_TOOLCHAIN_FILE:FILEPATH=toolchain-gcc.cmake -DARCH:STRING=$ARCH -DNEW_STYLE_BUILD:BOOL=$USE_NEW_STYLE $EXTRA_ARGS $ROS_CMAKEOPTS "$REACTOS_SOURCE_DIR"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user