Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Permits to add personal flags to compilation.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 1 Jul 2010 12:10:26 +0000 (12:10 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 1 Jul 2010 12:10:26 +0000 (12:10 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7954 48e7efb5-ca39-0410-a469-dd3cf9ba447f

buildtools/Cmake/Flags.cmake
buildtools/Cmake/Option.cmake

index 16465a2..a5a863b 100644 (file)
@@ -2,7 +2,7 @@ set(warnCFLAGS "")
 set(optCFLAGS "")
 
 if(NOT WIN32)
-       set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}-g3")
+       set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}-g3 ${custom_flags}")
 endif(NOT WIN32)
 
 if(enable_supernovae)
index df92f59..b6cfbf7 100644 (file)
@@ -3,6 +3,7 @@
 
 set(BIBTEX2HTML ${BIBTEX2HTML} CACHE PATH "Path to bibtex2html")
 set(gtnets_path ${gtnets_path} CACHE PATH "Path to gtnets lib")
+set(custom_flags ${custom_flags} CACHE FORCE "Customers flags add to cmake_c_flag")
 
 if(NOT prefix)
        set(prefix "/usr/local/simgrid/" CACHE PATH "Path where to install project")