Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Remote Modules
fast-lsd
Commits
94b2fc74
Commit
94b2fc74
authored
Feb 06, 2018
by
Yannick TANGUY
Browse files
CMakeLists are now well configured
parent
387dc721
Changes
4
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
94b2fc74
cmake_minimum_required
(
VERSION 2.8.9
)
project
(
OTBL
sdCmla
)
project
(
OTBL
SDCMLA
)
set
(
${
otb_module
}
_LIBRARIES OTBLSD
_
CMLA
)
set
(
${
otb_module
}
_LIBRARIES OTBLSDCMLA
)
if
(
NOT OTB_SOURCE_DIR
)
...
...
app/CMakeLists.txt
View file @
94b2fc74
OTB_CREATE_APPLICATION
(
NAME L
sdCmla
NAME L
SDCMLA
SOURCES
otbLSDCMLA.cxx
LINK_LIBRARIES
${${
otb-module
}
_LIBRARIES
}
${
OTBCommon_LIBRARIES
}
${
OTBApplicationEngine_LIBRARIES
}
}
LINK_LIBRARIES
${${
otb-module
}
_LIBRARIES
}
)
otb-module.cmake
View file @
94b2fc74
otb_module
(
OTBL
sdCmla
otb_module
(
OTBL
SDCMLA
DEPENDS
OTBCommon
OTBApplicationEngine
...
...
src/CMakeLists.txt
View file @
94b2fc74
#${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
}
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment