kdb copy
This commit is contained in:
parent
c3493063b9
commit
99c4376aed
|
@ -16,9 +16,11 @@ endif()
|
||||||
if("$ENV{TRAVIS_OS_NAME}" STREQUAL "windows")
|
if("$ENV{TRAVIS_OS_NAME}" STREQUAL "windows")
|
||||||
set( CTEST_CMAKE_GENERATOR "NMake Makefiles")
|
set( CTEST_CMAKE_GENERATOR "NMake Makefiles")
|
||||||
set( CTEST_BUILD_COMMAND "nmake" )
|
set( CTEST_BUILD_COMMAND "nmake" )
|
||||||
|
set( JPYLYZER_EXT "exe" )
|
||||||
else()
|
else()
|
||||||
set( CTEST_CMAKE_GENERATOR "Unix Makefiles") # Always makefile in travis-ci environment
|
set( CTEST_CMAKE_GENERATOR "Unix Makefiles") # Always makefile in travis-ci environment
|
||||||
set( CCFLAGS_WARNING "-Wall -Wextra -Wconversion -Wno-unused-parameter -Wdeclaration-after-statement")
|
set( CCFLAGS_WARNING "-Wall -Wextra -Wconversion -Wno-unused-parameter -Wdeclaration-after-statement")
|
||||||
|
set( JPYLYZER_EXT "py" )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if ("$ENV{OPJ_BUILD_CONFIGURATION}" STREQUAL "")
|
if ("$ENV{OPJ_BUILD_CONFIGURATION}" STREQUAL "")
|
||||||
|
@ -104,7 +106,7 @@ BUILD_THIRDPARTY:BOOL=TRUE
|
||||||
OPJ_DATA_ROOT:PATH=$ENV{PWD}/data
|
OPJ_DATA_ROOT:PATH=$ENV{PWD}/data
|
||||||
|
|
||||||
# jpylyzer is available with on GitHub: https://github.com/openpreserve/jpylyzer
|
# jpylyzer is available with on GitHub: https://github.com/openpreserve/jpylyzer
|
||||||
JPYLYZER_EXECUTABLE=$ENV{PWD}/jpylyzer/jpylyzer/jpylyzer.py
|
JPYLYZER_EXECUTABLE=$ENV{PWD}/jpylyzer/jpylyzer.${JPYLYZER_EXT}
|
||||||
|
|
||||||
" )
|
" )
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,7 @@ if [ "${OPJ_CI_SKIP_TESTS:-}" != "1" ]; then
|
||||||
OPJ_DATA_BRANCH=master #default to master
|
OPJ_DATA_BRANCH=master #default to master
|
||||||
fi
|
fi
|
||||||
echo "Cloning openjpeg-data from ${OPJ_DATA_BRANCH} branch"
|
echo "Cloning openjpeg-data from ${OPJ_DATA_BRANCH} branch"
|
||||||
git clone --depth=1 --branch=${OPJ_DATA_BRANCH} git://github.com/uclouvain/openjpeg-data.git data
|
#git clone --depth=1 --branch=${OPJ_DATA_BRANCH} git://github.com/uclouvain/openjpeg-data.git data
|
||||||
|
|
||||||
# We need jpylyzer for the test suite
|
# We need jpylyzer for the test suite
|
||||||
echo "Retrieving jpylyzer"
|
echo "Retrieving jpylyzer"
|
||||||
|
@ -111,6 +111,7 @@ if [ "${OPJ_CI_SKIP_TESTS:-}" != "1" ]; then
|
||||||
wget -q http://kakadusoftware.com/wp-content/uploads/2014/06/KDU77_Demo_Apps_for_Win32_150710.msi_.zip
|
wget -q http://kakadusoftware.com/wp-content/uploads/2014/06/KDU77_Demo_Apps_for_Win32_150710.msi_.zip
|
||||||
cmake -E tar -xf KDU77_Demo_Apps_for_Win32_150710.msi_.zip
|
cmake -E tar -xf KDU77_Demo_Apps_for_Win32_150710.msi_.zip
|
||||||
msiexec /i KDU77_Demo_Apps_for_Win32_150710.msi /quiet /qn /norestart
|
msiexec /i KDU77_Demo_Apps_for_Win32_150710.msi /quiet /qn /norestart
|
||||||
|
cp -r "C:/Program Files \(x86\)/Kakadu" ./kdu
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue