]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Switch off the warnings in the compilation of G__*
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 24 Jan 2011 13:07:04 +0000 (13:07 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 24 Jan 2011 13:07:04 +0000 (13:07 +0000)
cmake/ALICE_CMake.cmake

index 0d5b77db6aafc1881941b295d8456a99d71e12c5..d8d5885c210e6f8a0a23d4bf8a71177c8589de04 100644 (file)
@@ -390,6 +390,7 @@ macro(ALICE_GenerateDictionary)
   # Format neccesary arguments
   ALICE_Format(DINC "-I" "" "${DINC};${CMAKE_INCLUDE_EXPORT_DIRECTORY}")
   set_source_files_properties(${PDS} PROPERTIES GENERATED TRUE)
+  set_source_files_properties(${PDS} PROPERTIES COMPILE_FLAGS "-w")
   add_custom_command(OUTPUT  ${PDS}
                      COMMAND cd ${PROJECT_SOURCE_DIR} && ${ROOTCINT} -f ${CMAKE_CURRENT_BINARY_DIR}/${PDS} -c -D_MODULE=\\\"${MODULE}\\\" ${DEDEFINE} ${DCINTFLAGS} ${DINC} ${DCINTHDRS} ${DDH}
                      WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}