From cca66b9ec4e494c1d919bff0f71a820d8afab1fa Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:24:48 +0200 Subject: Adding upstream version 1.2.2. Signed-off-by: Daniel Baumann --- .../2geom/tests/dependent-project/build-and-run.sh | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/3rdparty/2geom/tests/dependent-project/build-and-run.sh (limited to 'src/3rdparty/2geom/tests/dependent-project/build-and-run.sh') diff --git a/src/3rdparty/2geom/tests/dependent-project/build-and-run.sh b/src/3rdparty/2geom/tests/dependent-project/build-and-run.sh new file mode 100644 index 0000000..b7bb2db --- /dev/null +++ b/src/3rdparty/2geom/tests/dependent-project/build-and-run.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +set -x +mkdir -p ../../opt2 +mkdir -p build-as-subproject +( + cd build-as-subproject; + cmake .. -D2GEOM_AS_SUBPROJECT=ON \ + -DCMAKE_INSTALL_PREFIX=../../../opt2 + make main -j 2 + ./main + make install +) + +mkdir -p build-with-find-package +( + cd build-with-find-package; + cmake .. -D2GEOM_AS_SUBPROJECT=OFF \ + -DCMAKE_EXE_LINKER_FLAGS="-fsanitize=address" \ + -DCMAKE_INSTALL_PREFIX=../../../opt2 \ + -D2Geom_DIR="$PWD/../../../opt/lib/cmake/2Geom" + make main -j 2 + ./main + make install +) -- cgit v1.2.3