aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Pokrzywka <romain@kdab.net>2009-12-30 09:55:53 +0000
committerRomain Pokrzywka <romain@kdab.net>2009-12-30 09:55:53 +0000
commit1b03544444fb469a8726b846f23db408c6da6549 (patch)
tree1addec6b189a2c2e4a6537da5648ae3afd2f8f43
parent773aa770c5f9d5900b9f71b0b204afd20b1b1ced (diff)
downloadextra-cmake-modules-1b03544444fb469a8726b846f23db408c6da6549.tar.gz
extra-cmake-modules-1b03544444fb469a8726b846f23db408c6da6549.tar.bz2
hmm, actually that change breaks nmake, so revert it. It's a bug that has to be fixed in jom directly.
svn path=/trunk/KDE/kdelibs/; revision=1067674
-rw-r--r--modules/NepomukAddOntologyClasses.cmake10
1 files changed, 0 insertions, 10 deletions
diff --git a/modules/NepomukAddOntologyClasses.cmake b/modules/NepomukAddOntologyClasses.cmake
index 7245e51b..687db6ef 100644
--- a/modules/NepomukAddOntologyClasses.cmake
+++ b/modules/NepomukAddOntologyClasses.cmake
@@ -83,20 +83,10 @@ macro(NEPOMUK_ADD_ONTOLOGY_CLASSES _sources)
message(SEND_ERROR "Running ${RCGEN} to generate list of sources failed with error code ${rcgen_result}")
endif(NOT ${rcgen_result} EQUAL 0)
- # jom parses the '#' from the class uri as the start of a comment so we must escape it
- if(MSVC)
- foreach(_class IN LISTS _classes)
- string(REPLACE "#" "^#" _class ${_class})
- list(REMOVE_AT _classes 0)
- list(APPEND _classes ${_class})
- endforeach(_class)
- endif(MSVC)
-
add_custom_command(OUTPUT ${_out_headers} ${_out_sources}
COMMAND ${RCGEN} ${_fastmode} --writeall --target ${_targetdir}/ ${_classes} ${_visibility} ${_ontologies}
DEPENDS ${_ontologies}
COMMENT "Generating ontology source files from ${_ontofilenames}"
- VERBATIM
)
# make sure the includes are found