diff --git a/Testing/otbWrapperApplicationTest.cxx b/Testing/otbWrapperApplicationTest.cxx new file mode 100644 index 0000000000000000000000000000000000000000..421e9b3f6e97ca9af5d383513b0e002f01bdf8fa --- /dev/null +++ b/Testing/otbWrapperApplicationTest.cxx @@ -0,0 +1,30 @@ +/*========================================================================= + + Program: ORFEO Toolbox + Language: C++ + Date: $Date$ + Version: $Revision$ + + + Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. + See OTBCopyright.txt for details. + + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the above copyright notices for more information. + +=========================================================================*/ +#if defined(_MSC_VER) +#pragma warning ( disable : 4786 ) +#endif + +#include "otbWrapperApplication.h" + +int otbWrapperApplicationNew(int argc, char* argv[]) +{ + typedef otb::Wrapper::Application ApplicationType; + ApplicationType::Pointer application = ApplicationType::New(); + + return EXIT_SUCCESS; +}