tweak win64 setup script
This commit is contained in:
parent
0951cfab48
commit
3ee57afd32
@ -9,6 +9,8 @@ copy scripts\windows\sbinit.config dist\
|
|||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
|
del /f CMakeCache.txt
|
||||||
|
|
||||||
if exist "C:\Program Files (x86)\CMake\bin" (
|
if exist "C:\Program Files (x86)\CMake\bin" (
|
||||||
set CMAKE_EXE_PATH="C:\Program Files (x86)\CMake\bin"
|
set CMAKE_EXE_PATH="C:\Program Files (x86)\CMake\bin"
|
||||||
) else (
|
) else (
|
||||||
@ -20,22 +22,28 @@ set QT_PREFIX_PATH=C:\Qt\5.6\msvc2015_64
|
|||||||
if exist %QT_PREFIX_PATH% (
|
if exist %QT_PREFIX_PATH% (
|
||||||
|
|
||||||
%CMAKE_EXE_PATH%\cmake.exe ^
|
%CMAKE_EXE_PATH%\cmake.exe ^
|
||||||
..\source ^
|
-G"Visual Studio 17 2022" ^
|
||||||
-G"Visual Studio 15 Win64" ^
|
-T"v143" ^
|
||||||
-DSTAR_USE_JEMALLOC=ON ^
|
|
||||||
-DCMAKE_PREFIX_PATH=%QT_PREFIX_PATH% ^
|
-DCMAKE_PREFIX_PATH=%QT_PREFIX_PATH% ^
|
||||||
|
-DSTAR_USE_JEMALLOC=OFF ^
|
||||||
|
-DSTAR_ENABLE_STEAM_INTEGRATION=ON ^
|
||||||
|
-DSTAR_ENABLE_DISCORD_INTEGRATION=ON ^
|
||||||
-DSTAR_BUILD_QT_TOOLS=ON ^
|
-DSTAR_BUILD_QT_TOOLS=ON ^
|
||||||
-DCMAKE_INCLUDE_PATH="..\lib\windows64\include" ^
|
-DCMAKE_INCLUDE_PATH="..\lib\windows64\include" ^
|
||||||
-DCMAKE_LIBRARY_PATH="..\lib\windows64"
|
-DCMAKE_LIBRARY_PATH="..\lib\windows64" ^
|
||||||
|
..\source
|
||||||
|
|
||||||
) else (
|
) else (
|
||||||
|
|
||||||
%CMAKE_EXE_PATH%\cmake.exe ^
|
%CMAKE_EXE_PATH%\cmake.exe ^
|
||||||
..\source ^
|
-G"Visual Studio 17 2022" ^
|
||||||
-G "Visual Studio 15 Win64" ^
|
-T"v143" ^
|
||||||
-DSTAR_USE_JEMALLOC=ON ^
|
-DSTAR_USE_JEMALLOC=OFF ^
|
||||||
|
-DSTAR_ENABLE_STEAM_INTEGRATION=ON ^
|
||||||
|
-DSTAR_ENABLE_DISCORD_INTEGRATION=ON ^
|
||||||
-DCMAKE_INCLUDE_PATH="..\lib\windows64\include" ^
|
-DCMAKE_INCLUDE_PATH="..\lib\windows64\include" ^
|
||||||
-DCMAKE_LIBRARY_PATH="..\lib\windows64"
|
-DCMAKE_LIBRARY_PATH="..\lib\windows64" ^
|
||||||
|
..\source
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user