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
Main Repositories
otb
Commits
1bc6cb88
Commit
1bc6cb88
authored
Feb 09, 2007
by
Thomas Feuvrier
Browse files
Ajout option de configuration pour utilisation du streaming dans les applications
parent
acb8b063
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
1bc6cb88
...
...
@@ -261,6 +261,15 @@ ENDIF( OTB_SHOW_ALL_MSG_DEBUG )
OPTION
(
OTB_DISABLE_CXX_EXAMPLES_TESTING
"Disable examples testing."
OFF
)
MARK_AS_ADVANCED
(
OTB_DISABLE_CXX_EXAMPLES_TESTING
)
#-----------------------------------------------------------------------------
# Option to define streaming activation in applications
# Use by otbConfigure.h.in
SET
(
OTB_STREAM_IMAGE_SIZE_TO_ACTIVATE_STREAMING 8*2000*2000 CACHE STRING
"Image size to activate using streaming for applications."
)
MARK_AS_ADVANCED
(
OTB_STREAM_IMAGE_SIZE_TO_ACTIVATE_STREAMING
)
SET
(
OTB_STREAM_MAX_SIZE_BUFFER_FOR_STREAMING 8*2000*10 CACHE STRING
"Max size buffer for streaming."
)
MARK_AS_ADVANCED
(
OTB_STREAM_MAX_SIZE_BUFFER_FOR_STREAMING
)
#-----------------------------------------------------------------------------
# Option for generate Patented examples !!!
OPTION
(
OTB_USE_PATENTED
"Build patented examples. ITK must be genereted whith patented option (ITK_USE_PATENTED = ON)."
OFF
)
...
...
otbConfigure.h.in
View file @
1bc6cb88
...
...
@@ -46,3 +46,8 @@
#define OTB_VERSION_MINOR @OTB_VERSION_MINOR@
#define OTB_VERSION_PATCH @OTB_VERSION_PATCH@
#define OTB_VERSION_STRING "@OTB_VERSION_STRING@"
/* Streaming configuration for application */
#define OTB_STREAM_IMAGE_SIZE_TO_ACTIVATE_STREAMING @OTB_STREAM_IMAGE_SIZE_TO_ACTIVATE_STREAMING@
#define OTB_STREAM_MAX_SIZE_BUFFER_FOR_STREAMING @OTB_STREAM_MAX_SIZE_BUFFER_FOR_STREAMING@
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