diff --git a/cmake/modules/NepomukMacros.cmake b/cmake/modules/NepomukMacros.cmake index 9476cf64cf..00771ae643 100644 --- a/cmake/modules/NepomukMacros.cmake +++ b/cmake/modules/NepomukMacros.cmake @@ -1,49 +1,49 @@ # This file contains the following macros: # # NEPOMUK_GENERATE_FROM_ONTOLOGY # # # NEPOMUK_GENERATE_FROM_ONTOLOGY # (C) 2007 Sebastian Trueg # # Parameters: # ontofile - Path to the NRL ontology defining the resources to be generated. # targetdir - Folder to which the generated sources should be written. # out_headers - Variable which will be filled with the names of all generated headers. # out_sources - Variable which will be filled with the names of all generated sources. # out_includes - Variable which will be filled with complete include statements of all # generated resource classes. # # In addition to the parameters an arbitrary number of template filenames can be set as arguments # macro(NEPOMUK_GENERATE_FROM_ONTOLOGY ontofile targetdir out_headers out_sources out_includes) FIND_PROGRAM(RCGEN nepomuk-rcgen PATHS ${BIN_INSTALL_DIR}) if(NOT RCGEN) message( FATAL_ERROR "Failed to find the KMetaData source generator" ) endif(NOT RCGEN) FILE(TO_NATIVE_PATH ${RCGEN} RCGEN) execute_process( - COMMAND ${RCGEN} --listheaders --prefix ${targetdir}/ --ontologies ${ontofile} + COMMAND ${RCGEN} --quiet --listheaders --prefix ${targetdir}/ --ontologies ${ontofile} OUTPUT_VARIABLE ${out_headers} ) execute_process( - COMMAND ${RCGEN} --listsources --prefix ${targetdir}/ --ontologies ${ontofile} + COMMAND ${RCGEN} --quiet --listsources --prefix ${targetdir}/ --ontologies ${ontofile} OUTPUT_VARIABLE ${out_sources} ) execute_process( - COMMAND ${RCGEN} --listincludes --ontologies ${ontofile} + COMMAND ${RCGEN} --quiet --listincludes --ontologies ${ontofile} OUTPUT_VARIABLE ${out_includes} ) execute_process( - COMMAND ${RCGEN} --writeall --templates ${ARGN} --target ${targetdir}/ --ontologies ${ontofile} + COMMAND ${RCGEN} --quiet --writeall --templates ${ARGN} --target ${targetdir}/ --ontologies ${ontofile} ) endmacro(NEPOMUK_GENERATE_FROM_ONTOLOGY)