Commit 549e115f authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

DOC: better user messages in CMakeLists

parent e0ffe205
...@@ -328,7 +328,7 @@ ENDIF(OTB_USE_CURL) ...@@ -328,7 +328,7 @@ ENDIF(OTB_USE_CURL)
#------------------------------- #-------------------------------
# Mapnik Library # Mapnik Library
#------------------------------- #-------------------------------
OPTION(OTB_USE_MAPNIK "Use mapnik library (EXPERIMENTAL)." OFF) OPTION(OTB_USE_MAPNIK "Use mapnik library." OFF)
MARK_AS_ADVANCED(OTB_USE_MAPNIK) MARK_AS_ADVANCED(OTB_USE_MAPNIK)
IF(OTB_USE_MAPNIK) IF(OTB_USE_MAPNIK)
...@@ -422,8 +422,8 @@ ENDIF(OTB_USE_EXTERNAL_BOOST) ...@@ -422,8 +422,8 @@ ENDIF(OTB_USE_EXTERNAL_BOOST)
# GDAL Library # GDAL Library
#------------------------------- #-------------------------------
# Option for internal/external BOOST # Option for internal/external GDAL
OPTION(OTB_USE_EXTERNAL_GDAL "Use an outside build of GDAL." ON) OPTION(OTB_USE_EXTERNAL_GDAL "Use an outside build of GDAL. (OFF is EXPERIMENTAL)" ON)
MARK_AS_ADVANCED(OTB_USE_EXTERNAL_GDAL) MARK_AS_ADVANCED(OTB_USE_EXTERNAL_GDAL)
IF(OTB_USE_EXTERNAL_GDAL) IF(OTB_USE_EXTERNAL_GDAL)
...@@ -779,7 +779,7 @@ MACRO(OTB_ADD_EXECUTABLE name sources libraries) ...@@ -779,7 +779,7 @@ MACRO(OTB_ADD_EXECUTABLE name sources libraries)
# ADD_DEPENDENCIES(otbBasicFiltersTests1 OTBBasicFilters) # ADD_DEPENDENCIES(otbBasicFiltersTests1 OTBBasicFilters)
FOREACH( file ${sources}) FOREACH( file ${sources})
ADD_CUSTOM_COMMAND( TARGET ${name} ADD_CUSTOM_COMMAND( TARGET ${name}
PRE_BUILD PRE_BUILD
COMMAND ${OTB_CPP_CHECK_PROG} COMMAND ${OTB_CPP_CHECK_PROG}
ARGS ${CMAKE_CURRENT_SOURCE_DIR}/${file} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/${file}
DEPENDS ${libraries} DEPENDS ${libraries}
......
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