mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
Fix configure on *nixes.
Arch, don't use brackets, thats meant to execute something. svn path=/trunk/; revision=59130
This commit is contained in:
parent
6b811ad8f5
commit
2aec6ce58a
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ BUILD_ENVIRONMENT=MinGW
|
||||||
ARCH=$ROS_ARCH
|
ARCH=$ROS_ARCH
|
||||||
REACTOS_SOURCE_DIR=$(cd `dirname $0` && pwd)
|
REACTOS_SOURCE_DIR=$(cd `dirname $0` && pwd)
|
||||||
REACTOS_OUTPUT_PATH=output-$BUILD_ENVIRONMENT-$ARCH
|
REACTOS_OUTPUT_PATH=output-$BUILD_ENVIRONMENT-$ARCH
|
||||||
if [ ("$1" = "Makefiles") -o ("$1" = "makefiles") ]; then
|
if [ "$1" = "Makefiles" -o "$1" = "makefiles" ]; then
|
||||||
CMAKE_GENERATOR="Unix Makefiles"
|
CMAKE_GENERATOR="Unix Makefiles"
|
||||||
else
|
else
|
||||||
CMAKE_GENERATOR="Ninja"
|
CMAKE_GENERATOR="Ninja"
|
||||||
|
@ -34,6 +34,6 @@ echo Preparing reactos...
|
||||||
cd ../reactos
|
cd ../reactos
|
||||||
rm -f CMakeCache.txt
|
rm -f CMakeCache.txt
|
||||||
|
|
||||||
cmake -G "$CMAKE_GENERATOR" -DENABLE_CCACHE=0 -DPCH=0 -DCMAKE_TOOLCHAIN_FILE=toolchain-gcc.cmake -DARCH=$ARCH -DREACTOS_BUILD_TOOLS_DIR="$REACTOS_BUILD_TOOLS_DIR" "$REACTOS_SOURCE_DIR"
|
cmake -G "$CMAKE_GENERATOR" -DNEWCC=0 -DENABLE_CCACHE=0 -DPCH=0 -DCMAKE_TOOLCHAIN_FILE=toolchain-gcc.cmake -DARCH=$ARCH -DREACTOS_BUILD_TOOLS_DIR="$REACTOS_BUILD_TOOLS_DIR" "$REACTOS_SOURCE_DIR"
|
||||||
|
|
||||||
echo Configure script complete! Enter directories and execute appropriate build commands\(ex: ninja, make, makex, etc...\).
|
echo Configure script complete! Enter directories and execute appropriate build commands\(ex: ninja, make, makex, etc...\).
|
||||||
|
|
Loading…
Reference in a new issue