-
Notifications
You must be signed in to change notification settings - Fork 4
/
configure.bat
47 lines (40 loc) · 1.79 KB
/
configure.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
37
38
39
40
41
42
43
44
45
46
47
cd external
mkdir install
mkdir glfw_build
cd glfw_build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DGLFW_BUILD_DOCS=OFF -DGLFW_BUILD_TESTS=OFF -DGLFW_BUILD_EXAMPLES=OFF -DCMAKE_INSTALL_PREFIX="../install/" ../glfw/
cmake --build ./ --config Release
cmake --install ./
cd ..
mkdir string_theory_build
cd string_theory_build
cmake -DCMAKE_BUILD_TYPE=Release -DST_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX="../install/" ../string_theory/
cmake --build ./ --config Release
cmake --install ./
cd ..
mkdir libjpeg-turbo_build
cd libjpeg-turbo_build
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_SHARED=OFF -DENABLE_STATIC=ON -DCMAKE_INSTALL_PREFIX="../install/" ../libjpeg-turbo/
cmake --build ./ --config Release
cmake --install ./
cd ..
mkdir zlib_build
cd zlib_build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="../install/" ../zlib/
cmake --build ./ --config Release
cmake --install ./
cd ..
del install\bin\zlib.dll
del install\lib\zlib.lib
mkdir libpng_build
cd libpng_build
cmake -DCMAKE_BUILD_TYPE=Release -DPNG_SHARED=OFF -DPNG_STATIC=ON -DPNG_EXECUTABLES=OFF -DPNG_TESTS=OFF -DCMAKE_PREFIX_PATH="../install/share/pkgconfig/;../install/;" -DCMAKE_INSTALL_PREFIX="../install/" ../libpng/
cmake --build ./ --config Release
cmake --install ./
cd ..
mkdir libhsplasma_build
cd libhsplasma_build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="../../install/share/;../../install/share/pkgconfig/;../../install/;../install/;../install/lib/;../install/lib/libpng/;../install/lib/cmake/string_theory;../install/lib/pkgconfig/;/usr/local/opt/openssl" -DENABLE_PYTHON=OFF -DENABLE_TOOLS=OFF -DENABLE_NET=OFF -DENABLE_PHYSX=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX="../install/" ../libhsplasma/
cmake --build ./ --config Release
cmake --install ./
cd ../..