Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Youssefi
otb
Commits
d1000ac8
Commit
d1000ac8
authored
13 years ago
by
Julien Malik
Browse files
Options
Downloads
Patches
Plain Diff
ENH: fix CMakeLists
parent
80df7251
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/ApplicationEngine/CMakeLists.txt
+25
-12
25 additions, 12 deletions
Code/ApplicationEngine/CMakeLists.txt
with
25 additions
and
12 deletions
Code/ApplicationEngine/CMakeLists.txt
+
25
−
12
View file @
d1000ac8
file
(
GLOB srcs
"*.cxx"
)
add_library
(
OTBWrapperCore
${
srcs
}
${
CMAKE_CURRENT_SOURCE_DIR
}
)
include_directories
(
${
CMAKE_SOURCE_DIR
}
/Code/Common
)
target_link_libraries
(
OTBWrapperCore OTBCommon OTBIO
)
install
(
TARGETS OTBWrapperCore
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib/static
)
install
(
DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
DESTINATION include/otbapp
FILES_MATCHING PATTERN
"*.h"
)
# Sources of non-templated classes.
FILE
(
GLOB OTBApplicationEngine_SRCS
"*.cxx"
)
ADD_LIBRARY
(
OTBApplicationEngine
${
OTBApplicationEngine_SRCS
}
)
TARGET_LINK_LIBRARIES
(
OTBApplicationEngine OTBCommon OTBIO
)
IF
(
OTB_LIBRARY_PROPERTIES
)
SET_TARGET_PROPERTIES
(
OTBApplicationEngine PROPERTIES
${
OTB_LIBRARY_PROPERTIES
}
)
ENDIF
(
OTB_LIBRARY_PROPERTIES
)
IF
(
NOT OTB_INSTALL_NO_LIBRARIES
)
INSTALL
(
TARGETS OTBApplicationEngine
RUNTIME DESTINATION
${
OTB_INSTALL_BIN_DIR_CM24
}
COMPONENT RuntimeLibraries
LIBRARY DESTINATION
${
OTB_INSTALL_LIB_DIR_CM24
}
COMPONENT RuntimeLibraries
ARCHIVE DESTINATION
${
OTB_INSTALL_LIB_DIR_CM24
}
COMPONENT Development
)
ENDIF
(
NOT OTB_INSTALL_NO_LIBRARIES
)
IF
(
NOT OTB_INSTALL_NO_DEVELOPMENT
)
FILE
(
GLOB __files1
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/*.h"
)
FILE
(
GLOB __files2
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/*.txx"
)
INSTALL
(
FILES
${
__files1
}
${
__files2
}
DESTINATION
${
OTB_INSTALL_INCLUDE_DIR_CM24
}
/ApplicationEngine
COMPONENT Development
)
ENDIF
(
NOT OTB_INSTALL_NO_DEVELOPMENT
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment