File tree 4 files changed +23
-43
lines changed
4 files changed +23
-43
lines changed Original file line number Diff line number Diff line change 1
- call config_all.bat
2
1
cd build
3
- cmake --build . --config Release --target Install
4
- cmake --build . --config Debug --target Install
5
- cmake --build . --config RelWithDebInfo --target Install
2
+ cmake --build . --config Debug
3
+ cmake --install . --config Debug --prefix ../../vcpkg/packages/zep_x64-windows-static-md
4
+
5
+ cmake --build . --config Release
6
+ cmake --install . --config Release --prefix ../../vcpkg/packages/zep_x64-windows-static-md
7
+
8
+ cmake --build . --config RelWithDebInfo
9
+ cmake --install . --config RelWithDebInfo --prefix ../../vcpkg/packages/zep_x64-windows-static-md
6
10
cd ..
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- if [ " $1 " ! = " " ] ; then
4
- source config_all.sh
3
+ if [ " $1 " = = " " ] ; then
4
+ CONFIG=Debug
5
5
else
6
- source config_all.sh $1
6
+ CONFIG=$1
7
+ fi
8
+
9
+ source config_all.sh $CONFIG
10
+
11
+ if [[ " $OSTYPE " == " darwin" * ]]; then
12
+ PACKAGE_TYPE=osx
13
+ else
14
+ PACKAGE_TYPE=linux
7
15
fi
8
16
9
17
cd build
10
- make --debug
11
- sudo make install
12
- make
13
- sudo make install
18
+ cmake --build . --config $CONFIG
19
+ cmake --install . --config $CONFIG --prefix ../../vcpkg/packages/zep_x64-$PACKAGE_TYPE
14
20
cd ..
21
+
22
+ echo " Built $CONFIG for $PACKAGE_TYPE "
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments