summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Schürmann <daschuer@mixxx.org>2023-06-07 08:20:51 +0200
committerDaniel Schürmann <daschuer@mixxx.org>2023-06-07 08:28:04 +0200
commitf34a75b635bb7a86d507070b72ea3f2a6b640b37 (patch)
treee4d47afeb1382e1745a2516b0b77aafbc57fe42a
parent1a617aeb0945c3555f02f1ae955239303714f2eb (diff)
Give a hint how to build Mixxx with Visual Studio or from the command line.
-rwxr-xr-xtools/macos_buildenv.sh2
-rw-r--r--tools/windows_buildenv.bat5
2 files changed, 7 insertions, 0 deletions
diff --git a/tools/macos_buildenv.sh b/tools/macos_buildenv.sh
index 0945cc3ac9..f69c33a982 100755
--- a/tools/macos_buildenv.sh
+++ b/tools/macos_buildenv.sh
@@ -98,6 +98,8 @@ case "$1" in
echo ""
echo "Exported environment variables:"
echo_exported_variables
+ echo "You can now configure cmake from the command line in an EMPTY build directory via:"
+ echo "cmake -DCMAKE_TOOLCHAIN_FILE=${MIXXX_VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake ${MIXXX_ROOT}"
fi
;;
*)
diff --git a/tools/windows_buildenv.bat b/tools/windows_buildenv.bat
index 16719bea71..66e22dadc5 100644
--- a/tools/windows_buildenv.bat
+++ b/tools/windows_buildenv.bat
@@ -186,6 +186,11 @@ REM Generate CMakeSettings.json which is read by MS Visual Studio to determine t
CALL :Configuration2CMakeSettings_JSON native Release
>>"%CMakeSettings%" echo ]
>>"%CMakeSettings%" echo }
+
+ echo ^You can now open CMakeSetting.json from Visual Studio
+ echo ^or configure cmake from the command line in an EMPTY build directory via:
+ echo ^cmake -DCMAKE_TOOLCHAIN_FILE=!MIXXX_VCPKG_ROOT!\scripts\buildsystems\vcpkg.cmake %MIXXX_ROOT%
+
CALL :RESTORECONSOLE %OLDCODEPAGE%
GOTO :EOF