Commit 59b3ff21 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

ENH: activate ComputeSnowLine application (link with histo_utils.cxx)

parent f79e674b
# This macro creates the application EmptyApp. It must be linked to
# OTBApplicationEngine. Since the module has its own library,
# the variable ${otb-module}_LIBRARIES only contains this library, which doesn't
# drag OTBApplicationEngine, so we need to add it explicitely.
message(${${otb-module}_LIBRARIES})
# Create the ComputeCloudMask OTB application
OTB_CREATE_APPLICATION(NAME ComputeCloudMask
SOURCES otbComputeCloudMask.cxx
......@@ -20,21 +10,20 @@ OTB_CREATE_APPLICATION(NAME ComputeSnowMask
SOURCES otbComputeSnowMask.cxx
LINK_LIBRARIES ${${otb-module}_LIBRARIES}
)
# Create the ComputeContour OTB application
OTB_CREATE_APPLICATION(NAME ComputeContours
SOURCES otbComputeContours.cxx
LINK_LIBRARIES ${${otb-module}_LIBRARIES}
)
# Create the ComputeSnowLine OTB application
#OTB_CREATE_APPLICATION(NAME ComputeSnowLine
# SOURCES otbComputeSnowLine.cxx
# LINK_LIBRARIES ${${otb-module}_LIBRARIES})
Create the ComputeSnowLine OTB application
OTB_CREATE_APPLICATION(NAME ComputeSnowLine
SOURCES otbComputeSnowLine.cxx ../src/histo_utils.cxx
LINK_LIBRARIES ${${otb-module}_LIBRARIES})
# Create the ComputeNbPixels OTB application
OTB_CREATE_APPLICATION(NAME ComputeNbPixels
SOURCES otbComputeNbPixels.cxx
LINK_LIBRARIES ${${otb-module}_LIBRARIES}
)
)
# ${otb-module} will be the name of this module, and also the name of its
# library. It will not need to be changed when this module is renamed.
set(${otb-module}_SRC
histo_utils.cxx
)
add_library(${otb-module} ${${otb-module}_SRC})
target_link_libraries(${otb-module} ${OTBCommon_LIBRARIES} ${OTBImageIO_LIBRARIES} ${OTBApplicationEngine_LIBRARIES} ${OTBITK_LIBRARIES} )
otb_module_target(${otb-module})
Supports Markdown
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