Commit ed6f6d7d authored by Rashad Kanavath's avatar Rashad Kanavath

SuperBuild: Wrap download in script to log output

parent ccac863f
......@@ -79,6 +79,7 @@ ExternalProject_Add(BOOST
CONFIGURE_COMMAND ${BOOST_CONFIGURE_COMMAND}
BUILD_COMMAND ${BOOST_BUILD_COMMAND}
INSTALL_COMMAND ""
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -78,6 +78,7 @@ else(UNIX)
${CURL_SB_CONFIG}
DEPENDS ${CURL_DEPENDENCIES}
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -35,6 +35,7 @@ ExternalProject_Add(EXPAT
-DBUILD_tests:BOOL=OFF
-DBUILD_tools:BOOL=OFF
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -81,6 +81,7 @@ ExternalProject_Add(FFTWD
--disable-fortran
--disable-dependency-tracking
DEPENDS FFTWF
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -39,6 +39,7 @@ ExternalProject_Add(FREETYPE
${SB_CMAKE_CACHE_ARGS}
${FREETYPE_SB_CONFIG}
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -143,6 +143,7 @@ ExternalProject_Add(GDAL
CONFIGURE_COMMAND ${GDAL_CONFIGURE_COMMAND}
BUILD_COMMAND ${GDAL_BUILD_COMMAND}
INSTALL_COMMAND ${GDAL_INSTALL_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -35,6 +35,7 @@ ExternalProject_Add(GEOS
-DGEOS_ENABLE_TESTS:BOOL=OFF
PATCH_COMMAND ${GEOS_PATCH_COMMAND}
CMAKE_COMMAND ${GEOS_CMAKE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -85,6 +85,10 @@ else()
-DPROJ4_OSGEO4W_HOME:PATH=${SB_INSTALL_PREFIX}
${GEOTIFF_SB_CONFIG}
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
)
endif()
......
......@@ -31,6 +31,7 @@ ExternalProject_Add(GLEW
DOWNLOAD_DIR ${DOWNLOAD_LOCATION}
INSTALL_DIR ${SB_INSTALL_PREFIX}
CONFIGURE_COMMAND ${SB_CMAKE_COMMAND} ${SB_CMAKE_CACHE_ARGS} -DBUILD_UTILS:BOOL=OFF ${GLEW_SB_SRC}/build/cmake/
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -35,6 +35,7 @@ ExternalProject_Add(GLFW
-DGLFW_BUILD_DOCS:BOOL=OFF
-DGLFW_BUILD_TESTS:BOOL=OFF
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -53,6 +53,7 @@ ExternalProject_Add(GLUT
DOWNLOAD_DIR ${DOWNLOAD_LOCATION}
PATCH_COMMAND ${GLUT_PATCH_COMMAND}
CONFIGURE_COMMAND ${GLUT_CONFIGURE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -180,6 +180,7 @@ ExternalProject_Add(ITK
${ITK_SB_CONFIG}
DEPENDS ${ITK_DEPENDENCIES}
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -52,6 +52,7 @@ ExternalProject_Add(JPEG
INSTALL_DIR ${SB_INSTALL_PREFIX}
DOWNLOAD_DIR ${DOWNLOAD_LOCATION}
CONFIGURE_COMMAND ${JPEG_CONFIGURE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -44,6 +44,7 @@ ExternalProject_Add(LIBKML
CMAKE_CACHE_ARGS ${SB_CMAKE_CACHE_ARGS}
${LIBKML_SB_CONFIG}
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -35,6 +35,7 @@ ExternalProject_Add(LIBSVM
PATCH_COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/patches/LIBSVM/CMakeLists.txt
${LIBSVM_SB_SRC}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -35,6 +35,7 @@ ExternalProject_Add(MUPARSER
PATCH_COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/patches/MUPARSER/CMakeLists.txt
${MUPARSER_SB_SRC}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -42,6 +42,7 @@ ExternalProject_Add(MUPARSERX
${MUPARSERX_FLAGS}
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
DEPENDS ${MUPARSERX_DEPENDENCIES}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -100,6 +100,7 @@ ExternalProject_Add(OPENCV
${OPENCV_SB_CONFIG}
DEPENDS ${OPENCV_DEPENDENCIES}
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -56,6 +56,7 @@ ExternalProject_Add(OPENJPEG
${OPENJPEG_SB_CONFIG}
DEPENDS ${OPENJPEG_DEPENDENCIES}
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -37,6 +37,7 @@ ExternalProject_Add(OPENTHREADS
PATCH_COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/patches/OPENTHREADS/CMakeLists.txt
${OPENTHREADS_SB_SRC}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -67,6 +67,7 @@ ExternalProject_Add(OSSIM
${OSSIM_SB_CONFIG}
DEPENDS ${OSSIM_DEPENDENCIES}
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -48,6 +48,7 @@ ExternalProject_Add(PNG
-DSKIP_INSTALL_EXECUTABLES:BOOL=OFF
${PNG_SB_CONFIG}
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -35,6 +35,7 @@ ExternalProject_Add(PROJ
-DPROJ_LIB_SUBDIR:STRING=lib
-DPROJ_INCLUDE_SUBDIR:STRING=include
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -130,6 +130,7 @@ add_custom_target(QT4-uninstall
DOWNLOAD_DIR ${DOWNLOAD_LOCATION}
CONFIGURE_COMMAND ${QT4_CONFIGURE_COMMAND}
DEPENDS ${QT4_DEPENDENCIES}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -46,6 +46,7 @@ ExternalProject_Add(SHARK
-DENABLE_CBLAS:BOOL=OFF
${SHARK_SB_CONFIG}
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -33,6 +33,7 @@ ExternalProject_Add(SQLITE
PATCH_COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/patches/SQLITE ${SQLITE_SB_SRC}
CMAKE_CACHE_ARGS ${SB_CMAKE_CACHE_ARGS}
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -76,6 +76,10 @@ else()
BUILD_COMMAND $(MAKE)
INSTALL_COMMAND $(MAKE) install
DEPENDS ${SWIG_DEPENDENCIES}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
)
ExternalProject_Add_Step(SWIG copy_source
......
......@@ -58,6 +58,7 @@ ExternalProject_Add(TIFF
-Dwith_docs:BOOL=FALSE
${TIFF_SB_CONFIG}
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -35,6 +35,7 @@ ExternalProject_Add(TINYXML
${TINYXML_SB_SRC}
CMAKE_CACHE_ARGS ${SB_CMAKE_CACHE_ARGS}
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
......@@ -33,6 +33,7 @@ ExternalProject_Add(ZLIB
DOWNLOAD_DIR ${DOWNLOAD_LOCATION}
CMAKE_CACHE_ARGS ${SB_CMAKE_CACHE_ARGS}
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment