Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Main Repositories
otb
Commits
a92be1d0
Commit
a92be1d0
authored
Mar 19, 2015
by
Christophe Palmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENH: fixed small pb in OTBModuleHeaderTest.cmake (see also 68fc93053ce5)
parent
fa2f3bcf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
15 deletions
+9
-15
CMake/OTBModuleHeaderTest.cmake
CMake/OTBModuleHeaderTest.cmake
+9
-15
No files found.
CMake/OTBModuleHeaderTest.cmake
View file @
a92be1d0
...
...
@@ -22,27 +22,21 @@ add_custom_target( OTBHeaderTests
SET
(
BANNED_HEADERS
)
#if(NOT OTB_USE_OPENCV)
# string(CONCAT BANNED_HEADERS ${BANNED_HEADERS} "otbDecisionTreeMachineLearningModelFactory.h otbDecisionTreeMachineLearningModel.h otbKNearestNeighborsMachineLearningModelFactory.h otbKNearestNeighborsMachineLearningModel.h otbRandomForestsMachineLearningModelFactory.h otbRandomForestsMachineLearningModel.h otbSVMMachineLearningModelFactory.h otbSVMMachineLearningModel.h otbGradientBoostedTreeMachineLearningModelFactory.h otbGradientBoostedTreeMachineLearningModel.h otbBoostMachineLearningModelFactory.h otbBoostMachineLearningModel.h otbNeuralNetworkMachineLearningModelFactory.h otbNeuralNetworkMachineLearningModel.h otbNormalBayesMachineLearningModelFactory.h otbNormalBayesMachineLearningModel.h otbRequiresOpenCVCheck.h ")
# string(STRIP ${BANNED_HEADERS} BANNED_HEADERS)
# string(CONCAT BANNED_HEADERS ${BANNED_HEADERS} " ")
#endif()
if
(
NOT OTB_USE_OPENCV
)
SET
(
BANNED_HEADERS
"
${
BANNED_HEADERS
}
otbDecisionTreeMachineLearningModelFactory.h otbDecisionTreeMachineLearningModel.h otbKNearestNeighborsMachineLearningModelFactory.h otbKNearestNeighborsMachineLearningModel.h otbRandomForestsMachineLearningModelFactory.h otbRandomForestsMachineLearningModel.h otbSVMMachineLearningModelFactory.h otbSVMMachineLearningModel.h otbGradientBoostedTreeMachineLearningModelFactory.h otbGradientBoostedTreeMachineLearningModel.h otbBoostMachineLearningModelFactory.h otbBoostMachineLearningModel.h otbNeuralNetworkMachineLearningModelFactory.h otbNeuralNetworkMachineLearningModel.h otbNormalBayesMachineLearningModelFactory.h otbNormalBayesMachineLearningModel.h otbRequiresOpenCVCheck.h"
)
endif
()
#
if(NOT OTB_USE_LIBSVM)
# string(CONCAT
BANNED_HEADERS ${BANNED_HEADERS}
"
otbLibSVMMachineLearningModel.h otbLibSVMMachineLearningModelFactory.h")
# string(STRIP ${BANNED_HEADERS} BANNED_HEADERS
)
# string(CONCAT BANNED_HEADERS ${BANNED_HEADERS} " ")
#endif(
)
if
(
NOT OTB_USE_LIBSVM
)
SET
(
BANNED_HEADERS
"
${
BANNED_HEADERS
}
otbLibSVMMachineLearningModel.h otbLibSVMMachineLearningModelFactory.h"
)
endif
(
)
message
(
${
BANNED_HEADERS
}
)
# ************ ADD YOUR BANNED HEADERS HERE ************
#if(CONDITION)
# string(CONCAT BANNED_HEADERS ${BANNED_HEADERS} "BANNED-HEADER1.h")
# string(STRIP ${BANNED_HEADERS} BANNED_HEADERS)
# string(CONCAT BANNED_HEADERS ${BANNED_HEADERS} " ")
# SET(BANNED_HEADERS "${BANNED_HEADERS} BANNED-HEADER1.h BANNED-HEADER2.h")
#endif()
#string(STRIP ${BANNED_HEADERS} BANNED_HEADERS)
macro
(
otb_module_headertest _name
)
...
...
Write
Preview
Markdown
is supported
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