cmake: system_deps build googletest

have to built it to have string_view support
This commit is contained in:
Mizux Seiha
2025-11-04 22:43:52 +01:00
committed by Corentin Le Molgat
parent 45261a00be
commit b53c28a6ca
5 changed files with 9 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ RUN pacman -Syu --noconfirm \
coin-or-cbc coin-or-clp \
glpk \
scip \
gtest benchmark
benchmark
ENTRYPOINT ["/bin/bash", "-c"]
CMD [ "/bin/bash" ]

View File

@@ -11,7 +11,8 @@ RUN cmake -S. -Bbuild -DBUILD_DEPS=OFF \
-DUSE_COINOR=ON \
-DUSE_GLPK=ON \
-DUSE_HIGHS=OFF \
-DUSE_SCIP=ON
-DUSE_SCIP=ON \
-DBUILD_googletest=ON
RUN cmake --build build --target all -v
RUN cmake --build build --target install

View File

@@ -15,7 +15,8 @@ RUN cmake -S. -Bbuild -DBUILD_DEPS=OFF \
-DUSE_HIGHS=OFF \
-DUSE_SCIP=ON \
-DBUILD_DOTNET=ON \
-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF
-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF \
-DBUILD_googletest=ON
RUN cmake --build build --target all -v
RUN cmake --build build --target install

View File

@@ -14,7 +14,8 @@ RUN cmake -S. -Bbuild -DBUILD_DEPS=OFF \
-DUSE_HIGHS=OFF \
-DUSE_SCIP=ON \
-DBUILD_JAVA=ON -DSKIP_GPG=ON \
-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF
-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF \
-DBUILD_googletest=ON
RUN cmake --build build --target all -v
RUN cmake --build build --target install

View File

@@ -23,7 +23,8 @@ RUN cmake -S. -Bbuild -DBUILD_DEPS=OFF \
-DUSE_HIGHS=OFF \
-DUSE_SCIP=ON \
-DBUILD_PYTHON=ON \
-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF
-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF \
-DBUILD_googletest=ON
RUN cmake --build build --target all -v
RUN cmake --build build --target install