Skip to content

Commit 7c61e57

Browse files
committed
[CONFIGURE] Display the operating system on which the build config takes place (reactos#7774)
1 parent 9da4592 commit 7c61e57

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

configure.cmd

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ if defined ROS_ARCH (
7070

7171
REM Checkpoint
7272
if not defined ARCH (
73-
echo Unknown build architecture
73+
echo Unknown build architecture.
7474
goto quit
7575
)
7676

@@ -157,6 +157,10 @@ if "!CMAKE_GENERATOR!" == "Ninja" (
157157
echo This script defaults to Ninja. Type "configure help" for alternative options.
158158
)
159159

160+
REM Display information
161+
echo Configuring a new ReactOS build on:
162+
(for /f "delims=" %%x in ('ver') do @echo %%x) & echo.
163+
160164
REM Create directories
161165
set REACTOS_OUTPUT_PATH=output-%BUILD_ENVIRONMENT%-%ARCH%
162166

@@ -188,10 +192,9 @@ if "%VS_SOLUTION%" == "1" (
188192
goto quit
189193
)
190194

191-
echo Preparing reactos...
192195

193196
if EXIST CMakeCache.txt (
194-
del CMakeCache.txt /q
197+
del /q CMakeCache.txt
195198
)
196199

197200
if "%BUILD_ENVIRONMENT%" == "MinGW" (

configure.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,15 @@ while [ $# -gt 0 ]; do
4040
shift
4141
done
4242

43+
echo "Configuring a new ReactOS build on:"
44+
echo $(uname -srvpio); echo
45+
4346
if [ "$REACTOS_SOURCE_DIR" = "$PWD" ]; then
4447
echo "Creating directories in $REACTOS_OUTPUT_PATH"
4548
mkdir -p "$REACTOS_OUTPUT_PATH"
4649
cd "$REACTOS_OUTPUT_PATH"
4750
fi
4851

49-
echo "Preparing reactos..."
5052
rm -f CMakeCache.txt host-tools/CMakeCache.txt
5153

5254
cmake -G "$CMAKE_GENERATOR" -DENABLE_CCACHE:BOOL=0 -DCMAKE_TOOLCHAIN_FILE:FILEPATH=toolchain-gcc.cmake -DARCH:STRING=$ARCH $EXTRA_ARGS $ROS_CMAKEOPTS "$REACTOS_SOURCE_DIR"

0 commit comments

Comments
 (0)