diff options
author | Alexander Neundorf <neundorf@kde.org> | 2010-08-24 19:54:56 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2010-08-24 19:54:56 +0000 |
commit | 0c17e8963e4a6e144561b4c541d85986f029abba (patch) | |
tree | b8677d04f77aea599b17c593c61b6d58e96f4bbd | |
parent | 8773fa29dcfeddc45d4255768f940d5776e9f5c3 (diff) | |
download | extra-cmake-modules-0c17e8963e4a6e144561b4c541d85986f029abba.tar.gz extra-cmake-modules-0c17e8963e4a6e144561b4c541d85986f029abba.tar.bz2 |
-fix indentation, all lower-case
Alex
svn path=/trunk/KDE/kdelibs/; revision=1167511
-rw-r--r-- | modules/NepomukAddOntologyClasses.cmake | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/NepomukAddOntologyClasses.cmake b/modules/NepomukAddOntologyClasses.cmake index 68a2faee..6a49a5a9 100644 --- a/modules/NepomukAddOntologyClasses.cmake +++ b/modules/NepomukAddOntologyClasses.cmake @@ -54,20 +54,20 @@ macro(NEPOMUK_ADD_ONTOLOGY_CLASSES _sources) # find our helper program (first in the install dir, then everywhere) if(NOT WINCE) - find_program(RCGEN nepomuk-rcgen PATHS ${KDE4_BIN_INSTALL_DIR} ${BIN_INSTALL_DIR} NO_DEFAULT_PATH) - find_program(RCGEN nepomuk-rcgen) + find_program(RCGEN nepomuk-rcgen PATHS ${KDE4_BIN_INSTALL_DIR} ${BIN_INSTALL_DIR} NO_DEFAULT_PATH) + find_program(RCGEN nepomuk-rcgen) else(NOT WINCE) - find_program(RCGEN nepomuk-rcgen PATHS ${HOST_BINDIR} NO_DEFAULT_PATH) + find_program(RCGEN nepomuk-rcgen PATHS ${HOST_BINDIR} NO_DEFAULT_PATH) endif(NOT WINCE) if(NOT RCGEN) message(SEND_ERROR "Failed to find the Nepomuk source generator" ) else(NOT RCGEN) - FILE(TO_NATIVE_PATH ${RCGEN} RCGEN) + file(TO_NATIVE_PATH ${RCGEN} RCGEN) # we generate the files in the current binary dir set(_targetdir ${CMAKE_CURRENT_BINARY_DIR}) - + # generate the list of source and header files execute_process( COMMAND ${RCGEN} ${_fastmode} --listheaders --prefix ${_targetdir}/ ${_classes} ${_visibility} ${_ontologies} @@ -86,7 +86,7 @@ macro(NEPOMUK_ADD_ONTOLOGY_CLASSES _sources) if(NOT ${rcgen_result} EQUAL 0) message(SEND_ERROR "Running ${RCGEN} to generate list of sources failed with error code ${rcgen_result}") endif(NOT ${rcgen_result} EQUAL 0) - + add_custom_command(OUTPUT ${_out_headers} ${_out_sources} COMMAND ${RCGEN} ${_fastmode} --writeall --target ${_targetdir}/ ${_classes} ${_visibility} ${_ontologies} DEPENDS ${_ontologies} |