-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeFMTVS2022vcpkg_py27.bat
38 lines (30 loc) · 1.22 KB
/
CMakeFMTVS2022vcpkg_py27.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
::Set the dependencies with MSVC_dependencies_setup.bat
call "C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvars64.bat"
:::in debug
cmake CMakeLists.txt ^
-B build/debug ^
-G "Visual Studio 17 2022" ^
-DBUILD_TYPE=Debug ^
-DPARALLEL_TESTS=8 ^
-DCMAKE_TOOLCHAIN_FILE=D:/dependencies/vcpkg/scripts/buildsystems/vcpkg.cmake ^
-DVCPKG_TARGET_TRIPLET=x64-windows ^
-DONNXR_DIR=D:/dependencies/onnxruntime/ ^
-DMOSEK_DIR="C:/PROGRA~1/Mosek/10.1/" ^
-DVCPKG_MANIFEST_MODE=OFF ^
-DPYTHON_DIR=D:/dependencies/vcpkg/installed/x64-windows/manual-tools/vcpkg-tool-python2/
cmake --build build/debug --config Debug -j 8
cmake --install build/debug --config Debug
::in release
cmake CMakeLists.txt ^
-B build/release ^
-G "Visual Studio 17 2022" ^
-DBUILD_TYPE=Release ^
-DPARALLEL_TESTS=8 ^
-DCMAKE_TOOLCHAIN_FILE=D:/dependencies/vcpkg/scripts/buildsystems/vcpkg.cmake ^
-DVCPKG_TARGET_TRIPLET=x64-windows ^
-DONNXR_DIR=D:/dependencies/onnxruntime/ ^
-DMOSEK_DIR="C:/PROGRA~1/Mosek/10.1/" ^
-DVCPKG_MANIFEST_MODE=OFF ^
-DPYTHON_DIR=D:/dependencies/vcpkg/installed/x64-windows/manual-tools/vcpkg-tool-python2/
cmake --build build/release --config Release
cmake --install build/release --config Release