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
00068c33
Commit
00068c33
authored
14 years ago
by
Julien Malik
Browse files
Options
Downloads
Patches
Plain Diff
BUG: define EXECUTABLE_OUTPUT_PATH before using it
parent
6d88744e
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
CMakeLists.txt
+18
-19
18 additions, 19 deletions
CMakeLists.txt
with
18 additions
and
19 deletions
CMakeLists.txt
+
18
−
19
View file @
00068c33
...
...
@@ -137,6 +137,23 @@ ENDIF(WIN32)
OPTION
(
OTB_USE_DEPRECATED
"Turn on the use and test of deprecated classes"
OFF
)
MARK_AS_ADVANCED
(
OTB_USE_DEPRECATED
)
#-----------------------------------------------------------------------------
# Output directories.
# IF(NOT LIBRARY_OUTPUT_PATH)
SET
(
LIBRARY_OUTPUT_PATH
${
OTB_BINARY_DIR
}
/bin CACHE INTERNAL
"Single output directory for building all libraries."
)
# ENDIF(NOT LIBRARY_OUTPUT_PATH)
IF
(
NOT EXECUTABLE_OUTPUT_PATH
)
SET
(
EXECUTABLE_OUTPUT_PATH
${
OTB_BINARY_DIR
}
/bin CACHE INTERNAL
"Single output directory for building all executables."
)
ENDIF
(
NOT EXECUTABLE_OUTPUT_PATH
)
MARK_AS_ADVANCED
(
LIBRARY_OUTPUT_PATH EXECUTABLE_OUTPUT_PATH
)
SET
(
OTB_LIBRARY_PATH
"
${
LIBRARY_OUTPUT_PATH
}
"
)
SET
(
OTB_EXECUTABLE_PATH
"
${
EXECUTABLE_OUTPUT_PATH
}
"
)
SET
(
CXX_TEST_PATH
${
EXECUTABLE_OUTPUT_PATH
}
)
#-----------------------------------------------------------------------------
# Use the openjpeg library.
...
...
@@ -847,16 +864,8 @@ IF(BUILD_TESTING)
ENDIF
(
BUILD_TESTING
)
#-----------------------------------------------------------------------------
# Output directories.
# IF(NOT LIBRARY_OUTPUT_PATH)
SET
(
LIBRARY_OUTPUT_PATH
${
OTB_BINARY_DIR
}
/bin CACHE INTERNAL
"Single output directory for building all libraries."
)
# ENDIF(NOT LIBRARY_OUTPUT_PATH)
IF
(
NOT EXECUTABLE_OUTPUT_PATH
)
SET
(
EXECUTABLE_OUTPUT_PATH
${
OTB_BINARY_DIR
}
/bin CACHE INTERNAL
"Single output directory for building all executables."
)
ENDIF
(
NOT EXECUTABLE_OUTPUT_PATH
)
INCLUDE_DIRECTORIES
(
${
OTB_LIBRARY_PATH
}
)
IF
(
NOT OTB_NO_LIBRARY_VERSION
)
# This setting of SOVERSION assumes that any API change
...
...
@@ -867,16 +876,6 @@ IF(NOT OTB_NO_LIBRARY_VERSION)
ENDIF
(
NOT OTB_NO_LIBRARY_VERSION
)
MARK_AS_ADVANCED
(
LIBRARY_OUTPUT_PATH EXECUTABLE_OUTPUT_PATH
)
SET
(
OTB_LIBRARY_PATH
"
${
LIBRARY_OUTPUT_PATH
}
"
)
SET
(
OTB_EXECUTABLE_PATH
"
${
EXECUTABLE_OUTPUT_PATH
}
"
)
SET
(
CXX_TEST_PATH
${
EXECUTABLE_OUTPUT_PATH
}
)
INCLUDE_DIRECTORIES
(
${
OTB_LIBRARY_PATH
}
)
#-----------------------------------------------------------------------------
# Option for display all developpment message !!!
OPTION
(
OTB_SHOW_ALL_MSG_DEBUG
"OTB developers : Show all messages (debug, dev, etc...) use only for otb developers."
OFF
)
...
...
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