From: Anthony Geay Date: Tue, 18 Dec 2018 15:16:14 +0000 (+0100) Subject: First step X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e0e0bd5d069a9b3292b7cbe13453a0b10a4153ca;p=tools%2Fmedcoupling.git First step --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 3139000fc..90fd8233b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -243,16 +243,16 @@ IF(WIN32) ENDIF(WIN32) ADD_SUBDIRECTORY(src) -ADD_SUBDIRECTORY(adm_local) +# ADD_SUBDIRECTORY(adm_local) -IF(MEDCOUPLING_BUILD_DOC) - ADD_SUBDIRECTORY(doc) -ENDIF(MEDCOUPLING_BUILD_DOC) +# IF(MEDCOUPLING_BUILD_DOC) +# ADD_SUBDIRECTORY(doc) +# ENDIF(MEDCOUPLING_BUILD_DOC) -ADD_SUBDIRECTORY(resources) -IF(MEDCOUPLING_ENABLE_PYTHON) - ADD_SUBDIRECTORY(v8_work) -ENDIF() +# ADD_SUBDIRECTORY(resources) +# IF(MEDCOUPLING_ENABLE_PYTHON) +# ADD_SUBDIRECTORY(v8_work) +# ENDIF() # Configuration export # ==================== @@ -293,8 +293,8 @@ ENDIF() # Add all targets to the build-tree export set -EXPORT(TARGETS ${_${PROJECT_NAME}_exposed_targets} - FILE ${PROJECT_BINARY_DIR}/${PROJECT_NAME}Targets.cmake) +#EXPORT(TARGETS ${_${PROJECT_NAME}_exposed_targets} +# FILE ${PROJECT_BINARY_DIR}/${PROJECT_NAME}Targets.cmake) # Create the configuration files: diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d4b67e82f..a73dc44c5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -19,57 +19,57 @@ # InterpKERNEL ADD_SUBDIRECTORY(INTERP_KERNEL) -IF(MEDCOUPLING_BUILD_TESTS) - ADD_SUBDIRECTORY(INTERP_KERNELTest) -ENDIF(MEDCOUPLING_BUILD_TESTS) +# IF(MEDCOUPLING_BUILD_TESTS) +# ADD_SUBDIRECTORY(INTERP_KERNELTest) +# ENDIF(MEDCOUPLING_BUILD_TESTS) # MEDCoupling ADD_SUBDIRECTORY(MEDCoupling) -IF(MEDCOUPLING_ENABLE_PYTHON) - ADD_SUBDIRECTORY(MEDCoupling_Swig) - ADD_SUBDIRECTORY(PyWrapping) -ENDIF(MEDCOUPLING_ENABLE_PYTHON) +# IF(MEDCOUPLING_ENABLE_PYTHON) +# ADD_SUBDIRECTORY(MEDCoupling_Swig) +# ADD_SUBDIRECTORY(PyWrapping) +# ENDIF(MEDCOUPLING_ENABLE_PYTHON) -IF(NOT MEDCOUPLING_MICROMED) - # MEDLoader - ADD_SUBDIRECTORY(MEDLoader) +# IF(NOT MEDCOUPLING_MICROMED) +# # MEDLoader +# ADD_SUBDIRECTORY(MEDLoader) - # RENUMBER - IF(MEDCOUPLING_ENABLE_RENUMBER) - ADD_SUBDIRECTORY(RENUMBER) - IF(MEDCOUPLING_ENABLE_PYTHON) - ADD_SUBDIRECTORY(RENUMBER_Swig) - ENDIF(MEDCOUPLING_ENABLE_PYTHON) - ENDIF(MEDCOUPLING_ENABLE_RENUMBER) +# # RENUMBER +# IF(MEDCOUPLING_ENABLE_RENUMBER) +# ADD_SUBDIRECTORY(RENUMBER) +# IF(MEDCOUPLING_ENABLE_PYTHON) +# ADD_SUBDIRECTORY(RENUMBER_Swig) +# ENDIF(MEDCOUPLING_ENABLE_PYTHON) +# ENDIF(MEDCOUPLING_ENABLE_RENUMBER) - # MEDPartitioner - IF(MEDCOUPLING_ENABLE_PARTITIONER) - ADD_SUBDIRECTORY(MEDPartitioner) - IF(MEDCOUPLING_ENABLE_PYTHON) - ADD_SUBDIRECTORY(MEDPartitioner_Swig) - ENDIF(MEDCOUPLING_ENABLE_PYTHON) - ENDIF(MEDCOUPLING_ENABLE_PARTITIONER) -ENDIF(NOT MEDCOUPLING_MICROMED) +# # MEDPartitioner +# IF(MEDCOUPLING_ENABLE_PARTITIONER) +# ADD_SUBDIRECTORY(MEDPartitioner) +# IF(MEDCOUPLING_ENABLE_PYTHON) +# ADD_SUBDIRECTORY(MEDPartitioner_Swig) +# ENDIF(MEDCOUPLING_ENABLE_PYTHON) +# ENDIF(MEDCOUPLING_ENABLE_PARTITIONER) +# ENDIF(NOT MEDCOUPLING_MICROMED) -IF(MEDCOUPLING_USE_MPI) - # ParaMEDMEM - ADD_SUBDIRECTORY(ParaMEDMEM) +# IF(MEDCOUPLING_USE_MPI) +# # ParaMEDMEM +# ADD_SUBDIRECTORY(ParaMEDMEM) - # ParaMEDLoader - IF(NOT MEDCOUPLING_MICROMED) - ADD_SUBDIRECTORY(ParaMEDLoader) - ENDIF(NOT MEDCOUPLING_MICROMED) - IF(MEDCOUPLING_ENABLE_PYTHON) - ADD_SUBDIRECTORY(ParaMEDMEM_Swig) - ENDIF(MEDCOUPLING_ENABLE_PYTHON) - IF(MEDCOUPLING_BUILD_TESTS) - IF(NOT MEDCOUPLING_MICROMED) - ADD_SUBDIRECTORY(ParaMEDMEMTest) - ENDIF(NOT MEDCOUPLING_MICROMED) - ENDIF(MEDCOUPLING_BUILD_TESTS) -ENDIF(MEDCOUPLING_USE_MPI) +# # ParaMEDLoader +# IF(NOT MEDCOUPLING_MICROMED) +# ADD_SUBDIRECTORY(ParaMEDLoader) +# ENDIF(NOT MEDCOUPLING_MICROMED) +# IF(MEDCOUPLING_ENABLE_PYTHON) +# ADD_SUBDIRECTORY(ParaMEDMEM_Swig) +# ENDIF(MEDCOUPLING_ENABLE_PYTHON) +# IF(MEDCOUPLING_BUILD_TESTS) +# IF(NOT MEDCOUPLING_MICROMED) +# ADD_SUBDIRECTORY(ParaMEDMEMTest) +# ENDIF(NOT MEDCOUPLING_MICROMED) +# ENDIF(MEDCOUPLING_BUILD_TESTS) +# ENDIF(MEDCOUPLING_USE_MPI) -# Application tests -INSTALL(FILES CTestTestfileInstall.cmake - DESTINATION ${MEDCOUPLING_INSTALL_TESTS} - RENAME CTestTestfile.cmake) +# # Application tests +# INSTALL(FILES CTestTestfileInstall.cmake +# DESTINATION ${MEDCOUPLING_INSTALL_TESTS} +# RENAME CTestTestfile.cmake) diff --git a/src/MEDCoupling/CMakeLists.txt b/src/MEDCoupling/CMakeLists.txt index d668ac8c2..b00c378a7 100644 --- a/src/MEDCoupling/CMakeLists.txt +++ b/src/MEDCoupling/CMakeLists.txt @@ -18,9 +18,9 @@ # # Author : Anthony Geay (CEA/DEN) -IF(MEDCOUPLING_BUILD_TESTS) - ADD_SUBDIRECTORY(Test) -ENDIF(MEDCOUPLING_BUILD_TESTS) +# IF(MEDCOUPLING_BUILD_TESTS) +# ADD_SUBDIRECTORY(Test) +# ENDIF(MEDCOUPLING_BUILD_TESTS) ### KILLER WARNINGS TO HELP INT64 MANAGEMENT #ADD_DEFINITIONS(-Wextra -Wsynth -Wno-unused-parameter -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wreturn-type -Wno-endif-labels -Wsign-compare -Wmissing-format-attribute -Wno-multichar -Wno-deprecated-declarations -Wpacked -Wredundant-decls -Wlong-long -Wdisabled-optimization -Wunknown-pragmas -Wundef -Wreorder) @@ -36,44 +36,44 @@ INCLUDE_DIRECTORIES( ) SET(medcoupling_SOURCES - MEDCouplingField.cxx - MEDCouplingFieldFloat.cxx - MEDCouplingFieldDouble.cxx - MEDCouplingFieldInt.cxx - MEDCouplingUMesh.cxx - MEDCouplingUMesh_internal.cxx - MEDCouplingUMesh_intersection.cxx - MEDCoupling1GTUMesh.cxx + # MEDCouplingField.cxx + # MEDCouplingFieldFloat.cxx + # MEDCouplingFieldDouble.cxx + # MEDCouplingFieldInt.cxx + # MEDCouplingUMesh.cxx + # MEDCouplingUMesh_internal.cxx + # MEDCouplingUMesh_intersection.cxx + # MEDCoupling1GTUMesh.cxx MEDCouplingMemArray.cxx MEDCouplingMemArrayFloat.cxx MEDCouplingMemArrayChar.cxx MEDCouplingMap.cxx MEDCouplingTraits.cxx MEDCouplingTimeLabel.cxx - MEDCouplingCMesh.cxx - MEDCouplingIMesh.cxx - MEDCouplingCurveLinearMesh.cxx - MEDCouplingStructuredMesh.cxx - MEDCouplingTimeDiscretization.cxx - MEDCouplingFieldDiscretization.cxx + # MEDCouplingCMesh.cxx + # MEDCouplingIMesh.cxx + # MEDCouplingCurveLinearMesh.cxx + # MEDCouplingStructuredMesh.cxx + # MEDCouplingTimeDiscretization.cxx + # MEDCouplingFieldDiscretization.cxx MEDCouplingRefCountObject.cxx - MEDCouplingPointSet.cxx - MEDCouplingFieldTemplate.cxx - MEDCouplingMappedExtrudedMesh.cxx - MEDCouplingMesh.cxx - MEDCouplingGaussLocalization.cxx - MEDCouplingNatureOfField.cxx - MEDCouplingMultiFields.cxx - MEDCouplingDefinitionTime.cxx - MEDCouplingFieldOverTime.cxx - MEDCouplingCartesianAMRMesh.cxx - MEDCouplingAMRAttribute.cxx - MEDCouplingMatrix.cxx + # MEDCouplingPointSet.cxx + # MEDCouplingFieldTemplate.cxx + # MEDCouplingMappedExtrudedMesh.cxx + # MEDCouplingMesh.cxx + # MEDCouplingGaussLocalization.cxx + # MEDCouplingNatureOfField.cxx + # MEDCouplingMultiFields.cxx + # MEDCouplingDefinitionTime.cxx + # MEDCouplingFieldOverTime.cxx + # MEDCouplingCartesianAMRMesh.cxx + # MEDCouplingAMRAttribute.cxx + # MEDCouplingMatrix.cxx MEDCouplingPartDefinition.cxx - MEDCouplingSkyLineArray.cxx - MEDCouplingVoronoi.cxx - ../ICoCo/ICoCoField.cxx - ../ICoCo/ICoCoMEDField.cxx + # MEDCouplingSkyLineArray.cxx + # MEDCouplingVoronoi.cxx + # ../ICoCo/ICoCoField.cxx + # ../ICoCo/ICoCoMEDField.cxx ) SET(medcouplingremapper_SOURCES