Commit c1004648 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

SuperBuild: avoid noisy 'Setup...' message

parent 67777d46
......@@ -7,8 +7,6 @@
if(NOT __EXTERNAL_BOOST__)
set(__EXTERNAL_BOOST__ 1)
message(STATUS "Setup Boost ...")
if(USE_SYSTEM_BOOST)
# Required
find_package ( Boost
......
if(NOT __EXTERNAL_CURL__)
set(__EXTERNAL_CURL__ 1)
message(STATUS "Setup cURL ...")
if(USE_SYSTEM_CURL)
find_package ( CURL )
message(STATUS " Using cURL system version")
......
if(NOT __EXTERNAL_EXPAT__)
set(__EXTERNAL_EXPAT__ 1)
message(STATUS "Setup expat ...")
if(USE_SYSTEM_EXPAT)
find_package ( EXPAT )
message(STATUS " Using expat system version")
......
if(NOT __EXTERNAL_FFTW__)
set(__EXTERNAL_FFTW__ 1)
message(STATUS "Setup FFTW ...")
if(USE_SYSTEM_FFTW)
# TODO : use ITK's FindFFTW
#find_package ( FFTW )
......
if(NOT __EXTERNAL_FREETYPE__)
set(__EXTERNAL_FREETYPE__ 1)
message(STATUS "Setup freetype ...")
if(USE_SYSTEM_FREETYPE)
find_package ( FreeType )
message(STATUS " Using FreeType system version")
......
if(NOT __EXTERNAL_GDAL__)
set(__EXTERNAL_GDAL__ 1)
message(STATUS "Setup GDAL...")
if(USE_SYSTEM_GDAL)
find_package ( GDAL )
message(STATUS " Using GDAL system version")
......
if(NOT __EXTERNAL_GEOS__)
set(__EXTERNAL_GEOS__ 1)
message(STATUS "Setup GEOS ...")
if(USE_SYSTEM_GEOS)
# TODO : FindGEOS.cmake
find_package ( GEOS )
......
if(NOT __EXTERNAL_GEOTIFF__)
set(__EXTERNAL_GEOTIFF__ 1)
message(STATUS "Setup libgeotiff...")
if(USE_SYSTEM_GEOTIFF)
find_package ( GeoTIFF )
message(STATUS " Using libgeotiff system version")
......
if(NOT __EXTERNAL_GLEW__)
set(__EXTERNAL_GLEW__ 1)
message(STATUS "Setup GLEW...")
if(USE_SYSTEM_GLEW)
find_package ( GLEW )
message(STATUS " Using GLEW system version")
......
if(NOT __EXTERNAL_GLFW__)
set(__EXTERNAL_GLFW__ 1)
message(STATUS "Setup glfw...")
if(USE_SYSTEM_GLFW)
message(STATUS " Using glfw system version")
else()
......
if(NOT __EXTERNAL_GLUT__)
set(__EXTERNAL_GLUT__ 1)
message(STATUS "Setup glut...")
if(USE_SYSTEM_GLUT)
message(STATUS " Using glut system version")
else()
......
if(NOT __EXTERNAL_ITK__)
set(__EXTERNAL_ITK__ 1)
message(STATUS "Setup ITK...")
if(USE_SYSTEM_ITK)
find_package ( ITK )
message(STATUS " Using ITK system version")
......
if(NOT __EXTERNAL_JPEG__)
set(__EXTERNAL_JPEG__ 1)
message(STATUS "Setup libjpeg...")
if(USE_SYSTEM_JPEG)
find_package ( JPEG )
message(STATUS " Using libjpeg system version")
......
if(NOT __EXTERNAL_LIBKML__)
set(__EXTERNAL_LIBKML__ 1)
message(STATUS "Setup libKML ...")
if(USE_SYSTEM_LIBKML)
find_package ( LibKML )
message(STATUS " Using libKML system version")
......
if(NOT __EXTERNAL_LIBSVM__)
set(__EXTERNAL_LIBSVM__ 1)
message(STATUS "Setup LibSVM...")
if(USE_SYSTEM_LIBSVM)
find_package ( LibSVM )
message(STATUS " Using LibSVM system version")
......
if(NOT __EXTERNAL_MUPARSER__)
set(__EXTERNAL_MUPARSER__ 1)
message(STATUS "Setup muParser ...")
if(USE_SYSTEM_MUPARSER)
find_package ( MuParser )
message(STATUS " Using muParser system version")
......
if(NOT __EXTERNAL_MUPARSERX__)
set(__EXTERNAL_MUPARSERX__ 1)
message(STATUS "Setup muParserX ...")
if(USE_SYSTEM_MUPARSERX)
find_package ( MuParserX )
message(STATUS " Using muParserX system version")
......
if(NOT __EXTERNAL_MVD__)
set(__EXTERNAL_MVD__ 1)
message(STATUS "Setup Monteverdi...")
SETUP_SUPERBUILD(PROJECT MVD)
message(STATUS " Using Monteverdi SuperBuild version")
......
if(NOT __EXTERNAL_OPENCV__)
set(__EXTERNAL_OPENCV__ 1)
message(STATUS "Setup OpenCV...")
if(USE_SYSTEM_OPENCV)
find_package ( OpenCV )
message(STATUS " Using OpenCV system version")
......
if(NOT __EXTERNAL_OPENJPEG__)
set(__EXTERNAL_OPENJPEG__ 1)
message(STATUS "Setup OpenJpeg...")
if(USE_SYSTEM_OPENJPEG)
# TODO : FindOpenJPEG.cmake
find_package ( OpenJPEG )
......
......@@ -3,8 +3,6 @@ set(__EXTERNAL_OPENSSL__ 1)
#RK: OPENSSL is deactivated in QT4 build.
#revisit that when you have a clean openssl
message(STATUS "Setup OpenSSL ...")
if(USE_SYSTEM_OPENSSL)
find_package ( OPENSSL )
message(STATUS " Using OpenSSL system version")
......
if(NOT __EXTERNAL_OPENTHREADS__)
set(__EXTERNAL_OPENTHREADS__ 1)
message(STATUS "Setup OpenThreads ...")
if(MSVC)
set(USE_SYSTEM_OPENTHREADS OFF)
endif()
......
if(NOT __EXTERNAL_OSSIM__)
set(__EXTERNAL_OSSIM__ 1)
message(STATUS "Setup Ossim...")
# OSGeo4W provides an "ossim" package : use it otherwise if it is installed and not used by OTB
# we get conflicts (because OSGeo4W include dir is included for other dependencies
#if(WIN32)
......
if(NOT __EXTERNAL_OTB__)
set(__EXTERNAL_OTB__ 1)
message(STATUS "Setup OTB...")
SETUP_SUPERBUILD(PROJECT OTB)
message(STATUS " Using OTB SuperBuild version")
......
if(NOT __EXTERNAL_PCRE__)
set(__EXTERNAL_PCRE__ 1)
message(STATUS "Setup pcre...")
if(USE_SYSTEM_PCRE)
# TODO : FindPCRE.cmake
# find_package ( PCRE )
add_custom_target(PCRE)
message(STATUS " Using pcre system version")
else()
SETUP_SUPERBUILD(PROJECT PCRE)
......
if(NOT __EXTERNAL_PNG__)
set(__EXTERNAL_PNG__ 1)
message(STATUS "Setup libpng...")
if(USE_SYSTEM_PNG)
find_package ( PNG )
message(STATUS " Using libpng system version")
......
if(NOT __EXTERNAL_PROJ__)
set(__EXTERNAL_PROJ__ 1)
message(STATUS "Setup Proj.4 ...")
if(USE_SYSTEM_PROJ)
# TODO : FindPROJ.cmake
#find_package ( PROJ )
add_custom_target(PROJ)
message(STATUS " Using Proj4 system version")
else()
SETUP_SUPERBUILD(PROJECT PROJ)
......
if(NOT __EXTERNAL_QT4__)
set(__EXTERNAL_QT4__ 1)
message(STATUS "Setup Qt4 ...")
if(USE_SYSTEM_QT4)
find_package ( Qt4 )
message(STATUS " Using Qt4 system version")
......
if(NOT __EXTERNAL_QWT__)
set(__EXTERNAL_QWT__ 1)
message(STATUS "Setup Qwt...")
if(USE_SYSTEM_QWT)
message(STATUS " Using QWT system version")
else()
......
if(NOT __EXTERNAL_SQLITE__)
set(__EXTERNAL_SQLITE__ 1)
message(STATUS "Setup SQLite...")
if(USE_SYSTEM_SQLITE)
# TODO
#find_package ( SQLite )
add_custom_target(SQLITE)
message(STATUS " Using SQLite system version")
else()
SETUP_SUPERBUILD(PROJECT SQLITE)
......
if(NOT __EXTERNAL_SWIG__)
set(__EXTERNAL_SWIG__ 1)
message(STATUS "Setup swig...")
if(USE_SYSTEM_SWIG)
find_package ( SWIG )
add_custom_target(SWIG)
message(STATUS " Using swig system version")
else()
SETUP_SUPERBUILD(PROJECT SWIG)
......
if(NOT __EXTERNAL_TIFF__)
set(__EXTERNAL_TIFF__ 1)
message(STATUS "Setup libtiff...")
if(USE_SYSTEM_TIFF)
find_package ( TIFF )
message(STATUS " Using libtiff system version")
......
if(NOT __EXTERNAL_TINYXML__)
set(__EXTERNAL_TINYXML__ 1)
message(STATUS "Setup TinyXML ...")
if(USE_SYSTEM_TINYXML)
find_package ( TinyXML )
message(STATUS " Using TinyXML system version")
......
if(NOT __EXTERNAL_ZLIB__)
set(__EXTERNAL_ZLIB__ 1)
message(STATUS "Setup Zlib ...")
if(USE_SYSTEM_ZLIB)
find_package(ZLIB)
message(STATUS " Using Zlib system version")
......
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