Skip to content
Snippets Groups Projects
Commit db9f042e authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

ENH: txx to cxx

parent a7949e52
No related branches found
No related tags found
No related merge requests found
FILE(GLOB OTBProjections_SRCS "*.cxx" )
IF( NOT OTB_USE_CURL )
LIST(REMOVE_ITEM OTBProjections_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/otbPlaceNameToLonLat.cxx" )
LIST(REMOVE_ITEM OTBProjections_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/otbCoordinateToName.cxx" )
ENDIF( NOT OTB_USE_CURL )
......@@ -26,7 +27,7 @@ IF(NOT OTB_INSTALL_NO_DEVELOPMENT)
FILE(GLOB __files2 "${CMAKE_CURRENT_SOURCE_DIR}/*.txx")
IF( NOT OTB_USE_CURL )
LIST(REMOVE_ITEM __files1 "${CMAKE_CURRENT_SOURCE_DIR}/otbPlaceNameToLonLat.h" )
LIST(REMOVE_ITEM __files2 "${CMAKE_CURRENT_SOURCE_DIR}/otbPlaceNameToLonLat.txx" )
LIST(REMOVE_ITEM __files2 "${CMAKE_CURRENT_SOURCE_DIR}/otbCoordinateToName.h" )
ENDIF( NOT OTB_USE_CURL )
INSTALL(FILES ${__files1} ${__files2}
DESTINATION ${OTB_INSTALL_INCLUDE_DIR_CM24}/Projections
......
......@@ -15,8 +15,6 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef __otbCoordinateToName_txx
#define __otbCoordinateToName_txx
#include "otbCoordinateToName.h"
#include "tinyxml.h"
......@@ -143,4 +141,3 @@ void CoordinateToName::ParseXMLGeonames()
} // namespace otb
#endif
......@@ -15,8 +15,6 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef __otbPlaceNameToLonLat_txx
#define __otbPlaceNameToLonLat_txx
#include "otbPlaceNameToLonLat.h"
#include "tinyxml.h"
......@@ -188,5 +186,3 @@ void PlaceNameToLonLat::ParseXMLGeonames()
}
} // namespace otb
#endif
......@@ -80,8 +80,5 @@ private:
} // namespace otb
#ifndef OTB_MANUAL_INSTANTIATION
#include "otbPlaceNameToLonLat.txx"
#endif
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment