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
Container Registry
Model registry
Operate
Environments
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
Main Repositories
otb
Commits
67bd11f9
Commit
67bd11f9
authored
10 years ago
by
Julien Malik
Browse files
Options
Downloads
Patches
Plain Diff
COMP: set build output dir for application to lib/otb/applications
parent
eb414a98
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMake/OTBApplicationMacros.cmake
+7
-1
7 additions, 1 deletion
CMake/OTBApplicationMacros.cmake
with
7 additions
and
1 deletion
CMake/OTBApplicationMacros.cmake
+
7
−
1
View file @
67bd11f9
...
@@ -9,8 +9,14 @@ macro(otb_create_application)
...
@@ -9,8 +9,14 @@ macro(otb_create_application)
target_link_libraries
(
${
APPLICATION_TARGET_NAME
}
OTBApplicationEngine
${
APPLICATION_LINK_LIBRARIES
}
)
target_link_libraries
(
${
APPLICATION_TARGET_NAME
}
OTBApplicationEngine
${
APPLICATION_LINK_LIBRARIES
}
)
otb_module_target_label
(
${
APPLICATION_TARGET_NAME
}
)
otb_module_target_label
(
${
APPLICATION_TARGET_NAME
}
)
# Setup build output location
# Do not output in the standard lib folder where all shared libs goes.
# This is to avoid the application factory to look into each and every shared lib
# for itkLoad symbol
set_property
(
TARGET
${
APPLICATION_TARGET_NAME
}
PROPERTY LIBRARY_OUTPUT_DIRECTORY
${
OTB_BINARY_DIR
}
/lib/otb/applications
)
# Remove the usual 'lib' prefix to make it clear it is a plugin
# Remove the usual 'lib' prefix to make it clear it is a plugin
# and not a library to link against
# and not a
shared
library to link against
set_property
(
TARGET
${
APPLICATION_TARGET_NAME
}
PROPERTY PREFIX
""
)
set_property
(
TARGET
${
APPLICATION_TARGET_NAME
}
PROPERTY PREFIX
""
)
# on Apple platform, a "MODULE" library gets a ".so" extension
# on Apple platform, a "MODULE" library gets a ".so" extension
...
...
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