From 4877bf482fd8f9efae4bc1ae09e9aadf698d14ae Mon Sep 17 00:00:00 2001
From: Julien Malik <julien.malik@c-s.fr>
Date: Fri, 16 Sep 2011 11:45:54 +0200
Subject: [PATCH] ENH: rename the helper cmake script for application
 generation

---
 Applications/CMakeLists.txt                             | 1 +
 Applications/Classification/CMakeLists.txt              | 1 -
 Applications/Hyperspectral/CMakeLists.txt               | 1 -
 Applications/Test/CMakeLists.txt                        | 1 -
 Applications/Util/CMakeLists.txt                        | 1 -
 CMake/{ParseArguments.cmake => OTBParseArguments.cmake} | 0
 CMake/{WrapperMacros.cmake => OTBWrapperMacros.cmake}   | 0
 7 files changed, 1 insertion(+), 4 deletions(-)
 rename CMake/{ParseArguments.cmake => OTBParseArguments.cmake} (100%)
 rename CMake/{WrapperMacros.cmake => OTBWrapperMacros.cmake} (100%)

diff --git a/Applications/CMakeLists.txt b/Applications/CMakeLists.txt
index a882f352e2..931f54decb 100644
--- a/Applications/CMakeLists.txt
+++ b/Applications/CMakeLists.txt
@@ -1,3 +1,4 @@
+include(OTBWrapperMacros)
 
 add_subdirectory(Classification)
 add_subdirectory(Hyperspectral)
diff --git a/Applications/Classification/CMakeLists.txt b/Applications/Classification/CMakeLists.txt
index a07b502344..f846c17bf9 100644
--- a/Applications/Classification/CMakeLists.txt
+++ b/Applications/Classification/CMakeLists.txt
@@ -1,4 +1,3 @@
-include(WrapperMacros)
 
 OTB_CREATE_APPLICATION(NAME           EstimateImagesStatistics
                        SOURCES        otbEstimateImagesStatistics.cxx
diff --git a/Applications/Hyperspectral/CMakeLists.txt b/Applications/Hyperspectral/CMakeLists.txt
index ca64f51a6c..5d19ce017b 100644
--- a/Applications/Hyperspectral/CMakeLists.txt
+++ b/Applications/Hyperspectral/CMakeLists.txt
@@ -1,3 +1,2 @@
-include(WrapperMacros)
 
 OTB_CREATE_APPLICATION(NAME HyperspectralUnmixing SOURCES otbHyperspectralUnmixing.cxx LINK_LIBRARIES OTBIO;OTBCommon;OTBBasicFilters)
diff --git a/Applications/Test/CMakeLists.txt b/Applications/Test/CMakeLists.txt
index dc718cb0c6..1e87f0567f 100644
--- a/Applications/Test/CMakeLists.txt
+++ b/Applications/Test/CMakeLists.txt
@@ -1,4 +1,3 @@
-include(WrapperMacros)
 
 OTB_CREATE_APPLICATION(NAME Addition        SOURCES otbAddition.cxx)
 OTB_CREATE_APPLICATION(NAME AllocateOutput  SOURCES otbAllocateOutput.cxx LINK_LIBRARIES OTBIO;OTBCommon;OTBBasicFilters)
diff --git a/Applications/Util/CMakeLists.txt b/Applications/Util/CMakeLists.txt
index 98f37dc2f4..2e6d588eb2 100644
--- a/Applications/Util/CMakeLists.txt
+++ b/Applications/Util/CMakeLists.txt
@@ -1,4 +1,3 @@
-include(WrapperMacros)
 
 OTB_CREATE_APPLICATION(NAME           ExtractROI
                        SOURCES        otbExtractROI.cxx
diff --git a/CMake/ParseArguments.cmake b/CMake/OTBParseArguments.cmake
similarity index 100%
rename from CMake/ParseArguments.cmake
rename to CMake/OTBParseArguments.cmake
diff --git a/CMake/WrapperMacros.cmake b/CMake/OTBWrapperMacros.cmake
similarity index 100%
rename from CMake/WrapperMacros.cmake
rename to CMake/OTBWrapperMacros.cmake
-- 
GitLab