Skip to content

Commit d3b4610

Browse files
committed
More build scripts
1 parent 059801c commit d3b4610

4 files changed

+37
-0
lines changed

build_externals.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
3+
cd externals/unittest-cpp
4+
rm -rf build
5+
mkdir build
6+
cd build
7+
cmake ..
8+
make
9+

build_externals_vc2015.bat

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
cd externals\unittest-cpp
2+
rmdir /S /Q build
3+
mkdir build
4+
cd build
5+
cmake cmake -G "Visual Studio 14 Win64" ..
6+
cmake --build . --config Debug
7+
cmake --build . --config Release
8+
cd ..\..\..\

build_externals_vc2017.bat

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
cd externals\unittest-cpp
2+
rmdir /S /Q build
3+
mkdir build
4+
cd build
5+
cmake cmake -G "Visual Studio 15 Win64" ..
6+
cmake --build . --config Debug
7+
cmake --build . --config Release
8+
cd ..\..\..\

build_vc2015.bat

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
rem Example file on how to build under Windows
2+
rem using DCMAKE_PREFIX_PATH to specify where
3+
rem cmake's find* should look for dependencies.
4+
5+
rmdir /S /Q build
6+
mkdir build
7+
cd build
8+
rem -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
9+
cmake -DCMAKE_PREFIX_PATH=c:/devel/zlib-1.2.11;c:/devel/zlib-1.2.11/Release;c:/devel/openssl;c:/devel/boost_1_64_0 -G "Visual Studio 14 Win64" ..
10+
cmake --build . --config Debug
11+
cmake --build . --config Release
12+
cd ..

0 commit comments

Comments
 (0)