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 0d5b77d..d8d5885 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}