]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Ressources files option to minimize (if needed) the size of install.
authorageay <ageay>
Fri, 4 Oct 2013 08:18:49 +0000 (08:18 +0000)
committerageay <ageay>
Fri, 4 Oct 2013 08:18:49 +0000 (08:18 +0000)
CMakeLists.txt

index 22d07e77c0d663852f8f187eed5a91deb3327dab..11c8ce5b42401872322f58ff8546171db04dc0ab 100644 (file)
@@ -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