From: ageay Date: Fri, 4 Oct 2013 08:18:49 +0000 (+0000) Subject: Ressources files option to minimize (if needed) the size of install. X-Git-Tag: V7_3_0a1~111 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9dbd80dc5a04127ed470bd3223baf169f94aa0d3;p=modules%2Fmed.git Ressources files option to minimize (if needed) the size of install. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 22d07e77c..11c8ce5b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,6 +76,7 @@ OPTION(SALOME_MED_MICROMED "Build MED without MED file dependancy." OFF) OPTION(SALOME_MED_ENABLE_PYTHON "Build PYTHON bindings." ON) OPTION(SALOME_MED_ENABLE_PARTITIONER "Build MEDPartitioner." ON) OPTION(SALOME_MED_ENABLE_RENUMBER "Build Renumber." ON) +OPTION(SALOME_MED_WITH_FILE_EXAMPLES "Install examples of files containing meshes and fields of different formats." ON) OPTION(SALOME_USE_MPI "(Use MPI containers) - For MED this triggers the build of ParaMEDMEM." ${_default_MPI}) OPTION(SALOME_BUILD_GUI "Build GUI of MED." ON) OPTION(SALOME_BUILD_TESTS "Build MED tests." ON) @@ -258,7 +259,9 @@ ELSE(NOT SALOME_MED_STANDALONE) ENDIF(NOT SALOME_MED_STANDALONE) IF(NOT SALOME_MED_MICROMED) - ADD_SUBDIRECTORY(resources) + IF(SALOME_MED_WITH_FILE_EXAMPLES) + ADD_SUBDIRECTORY(resources) + ENDIF(SALOME_MED_WITH_FILE_EXAMPLES) ENDIF(NOT SALOME_MED_MICROMED) # Configuration export