Skip to content

Commit

Permalink
Merge pull request #105 from KrisThielemans/fixAppveyorITK5.4
Browse files Browse the repository at this point in the history
[Appveyor] use ITK 5.4.0
  • Loading branch information
KrisThielemans authored Dec 10, 2024
2 parents 20214b8 + 03ac348 commit 8a62640
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,24 @@ clone_folder: C:\projects\PETPVC

environment:
ITKSRC: C:\projects\deps\ITK
ITKINSTALL: C:\projects\deps\ITK-5.2.0
ITKINSTALL: C:\projects\deps\ITK-5.4.0
ITKBUILD: C:\projects\deps\ITK-BUILD

install:
- IF NOT EXIST C:\projects\deps mkdir C:\projects\deps
- cd C:\projects\deps
- set ITK_URL="https://github.com/InsightSoftwareConsortium/ITK/archive/v5.2.0.zip"
- IF NOT EXIST C:\projects\deps\ITK-5.2.0.zip appveyor DownloadFile %ITK_URL% -FileName ITK-5.2.0.zip
- IF NOT EXIST %ITKINSTALL% ( 7z x ITK-5.2.0.zip -oC:\projects\deps\ITK > nul &&
- set ITK_URL="https://github.com/InsightSoftwareConsortium/ITK/archive/v5.4.0.zip"
- IF NOT EXIST C:\projects\deps\ITK-5.4.0.zip appveyor DownloadFile %ITK_URL% -FileName ITK-5.4.0.zip
- IF NOT EXIST %ITKINSTALL% ( 7z x ITK-5.4.0.zip -oC:\projects\deps\ITK > nul &&
mkdir %ITKBUILD% &&
cd %ITKBUILD% &&
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=%ITKINSTALL% -DModule_ITKReview=ON ..\ITK\ITK-5.2.0 &&
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=%ITKINSTALL% -DModule_ITKReview=ON ..\ITK\ITK-5.4.0 &&
msbuild INSTALL.vcxproj
)

cache:
- C:\projects\deps\ITK-5.2.0.zip
- C:\projects\deps\ITK-5.2.0 -> appveyor.yml
- C:\projects\deps\ITK-5.4.0.zip
- C:\projects\deps\ITK-5.4.0 -> appveyor.yml

build_script:
- cd C:\projects\PETPVC
Expand Down

0 comments on commit 8a62640

Please sign in to comment.