Skip to content
Snippets Groups Projects
Commit f5fcbfb2 authored by Joscha Schmiedt's avatar Joscha Schmiedt
Browse files

Fix vcpkg Makefile targets

parent 3c7a119a
Branches
Tags
2 merge requests!61Release 0.3.0,!53Add vcpkg support
This commit is part of merge request !53. Comments created here will be created in the context of that merge request.
......@@ -98,14 +98,15 @@ conan-build-debug:
vcpkg-install:
./vcpkg/bootstrap-vcpkg.sh
vcpkg/vcpkg install
./vcpkg/bootstrap-vcpkg.sh\
&&vcpkg/vcpkg install
vcpkg-build-release: vcpkg-install
mkdir -p build/build_tools\
&& cp vcpkg_installed/x64-linux/tools/grpc/grpc_cpp_plugin build/build_tools
cmake -S .. -B . -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-linux -DCMAKE_BUILD_TYPE=Release
cmake --build .
mkdir -p build/build_tools\
&& cp vcpkg_installed/x64-linux/tools/grpc/grpc_cpp_plugin build/build_tools\
&& cd build\
&& cmake -S .. -B . -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-linux -DCMAKE_BUILD_TYPE=Release\
&& cmake --build .
ctest:
cd build/Debug && ctest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment