Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add an hide option "enable_pcre" for enable or not pcre lib.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 13 Dec 2010 12:09:44 +0000 (12:09 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 13 Dec 2010 12:09:44 +0000 (12:09 +0000)
By default = on.
Use for personal test only.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9146 48e7efb5-ca39-0410-a469-dd3cf9ba447f

buildtools/Cmake/CompleteInFiles.cmake
buildtools/Cmake/Option.cmake

index 39107f5..cb94883 100644 (file)
@@ -13,7 +13,9 @@ include(TestBigEndian)
 TEST_BIG_ENDIAN(BIGENDIAN)
 
 include(FindGraphviz)
+if(enable_pcre)
 include(FindPCRE)
+endif(enable_pcre)
 if(enable_gtnets)      
        include(FindGTnets)
 endif(enable_gtnets)
index 82a6439..0b121fa 100644 (file)
@@ -20,6 +20,7 @@ option(enable_java "Whether the Java bindings are activated." on)
 option(enable_smpi "This variable set smpi lib." on)
 option(enable_lua "Whether the lua bindings are activated." on)
 option(enable_ruby "Whether the Ruby bindings are activated." on)
+option(enable_pcre "Whether the pcre lib is activated." on) 
 
 if(WIN32 OR APPLE) 
 set(enable_smpi off CACHE TYPE INTERNAL FORCE)
@@ -75,4 +76,5 @@ mark_as_advanced(CMAKE_OSX_ARCHITECTURES)
 mark_as_advanced(CMAKE_OSX_DEPLOYMENT_TARGET)                                                                                                              
 mark_as_advanced(CMAKE_OSX_SYSROOT)                                                                         
 mark_as_advanced(SED_EXE)
-mark_as_advanced(BIBTEX2HTML)
\ No newline at end of file
+mark_as_advanced(BIBTEX2HTML)
+mark_as_advanced(enable_pcre)
\ No newline at end of file