Try again

This commit is contained in:
Maarten L. Hekkelman
2025-11-27 16:09:55 +01:00
parent fe3ac968b3
commit a92752fff7
2 changed files with 2 additions and 17 deletions

View File

@@ -128,7 +128,8 @@ CPMFindPackage(
find_package(cifpp 9.0.5 QUIET) find_package(cifpp 9.0.5 QUIET)
if(NOT (cifpp_FOUND OR TARGET cifpp)) if(NOT (cifpp_FOUND OR TARGET cifpp))
message(FATAL_ERROR "Could not find libcifpp. Please make sure you install libcifpp first, code can be found at https://github.com/PDB-REDO/libcifpp") # message(FATAL_ERROR "Could not find libcifpp. Please make sure you install libcifpp first, code can be found at https://github.com/PDB-REDO/libcifpp")
CPMAddPackage("https://github.com/PDB-REDO/libcifpp")
endif() endif()
if(TARGET cifpp) if(TARGET cifpp)

View File

@@ -1,6 +1,5 @@
@ECHO OFF @ECHO OFF
SET ZLIB_VERSION=1.3 SET ZLIB_VERSION=1.3
SET PCRE2_VERSION=10.45
IF NOT EXIST build_ci\libs ( IF NOT EXIST build_ci\libs (
MKDIR build_ci\libs MKDIR build_ci\libs
@@ -22,19 +21,4 @@ cmake --build build --target ALL_BUILD --config Release || EXIT /b 1
cmake --build build --target RUN_TESTS --config Release || EXIT /b 1 cmake --build build --target RUN_TESTS --config Release || EXIT /b 1
cmake --build build --target INSTALL --config Release || EXIT /b 1 cmake --build build --target INSTALL --config Release || EXIT /b 1
@REM Install PCRE2
IF NOT EXIST pcre2-%PCRE2_VERSION%.zip (
ECHO Downloading https://github.com/PCRE2Project/pcre2/releases/download/pcre2-%PCRE2_VERSION%/pcre2-%PCRE2_VERSION%.zip
curl -L -o pcre2-%PCRE2_VERSION%.zip https://github.com/PCRE2Project/pcre2/releases/download/pcre2-%PCRE2_VERSION%/pcre2-%PCRE2_VERSION%.zip || EXIT /b 1
)
IF NOT EXIST pcre2-%PCRE2_VERSION% (
ECHO Unpacking pcre2-%PCRE2_VERSION%.zip
C:\windows\system32\tar.exe -x -f pcre2-%PCRE2_VERSION%.zip || EXIT /b 1
)
CD pcre2-%PCRE2_VERSION%
cmake -B build -DPCRE2_BUILD_PCRE2GREP=OFF || EXIT /b 1
cmake --build build --target ALL_BUILD --config Release || EXIT /b 1
@REM cmake --build build --target RUN_TESTS --config Release || EXIT /b 1
cmake --build build --target INSTALL --config Release || EXIT /b 1
@EXIT /b 0 @EXIT /b 0