1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-19 06:05:01 +03:00

CMake: build all targets in the same directory, so that "hamcore.se2" doesn't have to be copied for each of them

This commit is contained in:
Davide Beatrici
2018-10-18 02:02:17 +02:00
parent 966a5e6dea
commit 8173eb4509
7 changed files with 81 additions and 96 deletions

View File

@ -58,7 +58,7 @@ matrix:
script:
- ./configure
- make -C tmp
- otool -L build/vpnserver/vpnserver
- otool -L build/vpnserver
- sudo make -C tmp install
addons:
@ -83,6 +83,6 @@ script:
- export LDFLAGS="-L${HOME}/opt/lib"
- ./configure
- make -C tmp
- ldd build/vpnserver/vpnserver
- ldd build/vpnserver
- sudo LD_LIBRARY_PATH="${HOME}/opt/lib:${LD_LIBRARY_PATH:-}" make -C tmp install
- if [ "${BUILD_DEB}" = "1" ]; then make package -C tmp; fi