-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Appveyor : do not compile dependencies
- Loading branch information
Showing
2 changed files
with
64 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
version: "{build}" | ||
|
||
os: Visual Studio 2015 | ||
|
||
clone_folder: c:\projects\dcmtkpp | ||
|
||
environment: | ||
BOOST_ROOT: C:/Libraries/boost_1_59_0 | ||
BOOST_LIBRARYDIR: C:/Libraries/boost_1_59_0/lib64-msvc-14.0 | ||
ICU_INCLUDE_DIR: C:/Libraries/icu/include | ||
ICU_LIBRARY: C:/Libraries/icu/lib64/icuuc.lib | ||
JsonCpp_INCLUDE_DIR: c:/Libraries/jsoncpp_0_10_5/include | ||
JsonCpp_LIBRARY: c:/Libraries/jsoncpp_0_10_5/lib/jsoncpp.lib | ||
DCMTK_INCLUDE_DIR: C:/Libraries/dcmtk-3.6.1_20150924/include | ||
DCMTK_LIBRARY: C:/Libraries/dcmtk-3.6.1_20150924/lib/dcmdata.lib | ||
|
||
#init: | ||
#- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) | ||
|
||
install: | ||
# ICU4C | ||
- ps: Start-FileDownload http://download.icu-project.org/files/icu4c/56.1/icu4c-56_1-Win64-msvc10.zip | ||
- 7z x -oC:\Libraries icu4c-56_1-Win64-msvc10.zip | ||
# JsonCpp | ||
- ps: Start-FileDownload https://github.com/open-source-parsers/jsoncpp/archive/0.10.5.zip | ||
- 7z x -oC:\projects 0.10.5.zip | ||
- cd C:\projects\jsoncpp-0.10.5 | ||
- mkdir build | ||
- cd build | ||
- cmake -D CMAKE_INSTALL_PREFIX=c:\Libraries\jsoncpp_0_10_5 .. | ||
- cmake --build . --config release --target install | ||
# DCMTK | ||
- ps: Start-FileDownload http://dicom.offis.de/download/dcmtk/snapshot/dcmtk-3.6.1_20150924.tar.gz | ||
- 7z x -so dcmtk-3.6.1_20150924.tar.gz | 7z x -si -oC:\projects -ttar | ||
- cd C:\projects\dcmtk-3.6.1_20150924 | ||
- mkdir build | ||
- cd build | ||
- cmake -D CMAKE_INSTALL_PREFIX=c:\Libraries\dcmtk-3.6.1_20150924 .. | ||
- cmake --build . --config release --target install | ||
|
||
before_build: | ||
- cd c:\projects\dcmtkpp | ||
- md build | ||
- cd build | ||
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH% | ||
- cmake -DBOOST_ROOT="%BOOST_ROOT%" -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%" -DICU_INCLUDE_DIR="%ICU_INCLUDE_DIR%" -DICU_LIBRARY="%ICU_LIBRARY%" -DJsonCpp_INCLUDE_DIR="%JsonCpp_INCLUDE_DIR%" -DJsonCpp_LIBRARY="%JsonCpp_LIBRARY%" -DDCMTK_INCLUDE_DIR="%DCMTK_INCLUDE_DIR%" -DDCMTK_LIBRARY="%DCMTK_LIBRARY%" .. | ||
|
||
build: | ||
project: C:\projects\dcmtkpp\build\dcmtkpp.sln | ||
|
||
#on_finish: | ||
#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters