Commit 94b2fc74 authored by Yannick TANGUY's avatar Yannick TANGUY
Browse files

CMakeLists are now well configured

parent 387dc721
cmake_minimum_required(VERSION 2.8.9)
project(OTBLsdCmla)
project(OTBLSDCMLA)
set(${otb_module}_LIBRARIES OTBLSD_CMLA)
set(${otb_module}_LIBRARIES OTBLSDCMLA)
if(NOT OTB_SOURCE_DIR)
......
OTB_CREATE_APPLICATION(
NAME LsdCmla
NAME LSDCMLA
SOURCES
otbLSDCMLA.cxx
LINK_LIBRARIES ${${otb-module}_LIBRARIES} ${OTBCommon_LIBRARIES} ${OTBApplicationEngine_LIBRARIES}}
LINK_LIBRARIES ${${otb-module}_LIBRARIES}
)
otb_module(OTBLsdCmla
otb_module(OTBLSDCMLA
DEPENDS
OTBCommon
OTBApplicationEngine
......
#${otb-module} will be the name of this module and will not need to be
#changed when this module is renamed.
set(${otb-module}_SRC
lsd.c
)
add_library(${otb-module} ${${otb-module}_SRC})
target_link_libraries(${otb-module} ${OTBCommon_LIBRARIES} ${OTBApplicationEngine_LIBRARIES})
# note : ${${otb-module}_LIBRARIES} contains all dependencies declared in otb-module.cmake
target_link_libraries(${otb-module} ${${otb-module}_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