diff options
author | Alexander Neundorf <neundorf@kde.org> | 2006-01-22 10:29:20 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2006-01-22 10:29:20 +0000 |
commit | 7c7a0e07ca201f1f5dd51bf87d6c023dc9dc28f0 (patch) | |
tree | 24a7fc6a27bc61b32ef736d2412508ada7e683d0 /kde4/kde4uic.cmake | |
parent | a6f951a920cc9b57aa36285d1201f7ebf0ad0265 (diff) | |
download | extra-cmake-modules-7c7a0e07ca201f1f5dd51bf87d6c023dc9dc28f0.tar.gz extra-cmake-modules-7c7a0e07ca201f1f5dd51bf87d6c023dc9dc28f0.tar.bz2 |
-generate_findpackage_file: a script to simplify generating simple FindFoo.cmake files
-FindLibXml2.cmake and FindLibXslt.cmake: modules to find libxml2 and libxslt, generated by the script above
-some tuning in the other modules
Alex
svn path=/trunk/KDE/kdesdk/cmake/; revision=501125
Diffstat (limited to 'kde4/kde4uic.cmake')
-rw-r--r-- | kde4/kde4uic.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kde4/kde4uic.cmake b/kde4/kde4uic.cmake index 60fa6b9b..42382aac 100644 --- a/kde4/kde4uic.cmake +++ b/kde4/kde4uic.cmake @@ -37,6 +37,8 @@ ENDIF (KDE4_HEADER) #replace tr218n("") with QString::null to avoid waring from KLocale STRING(REGEX REPLACE "tr2i18n\\(\"\"\\)" "QString::null" _uic_CONTENTS "${_uic_CONTENTS}" ) STRING(REGEX REPLACE "tr2i18n\\(\"\", \"\"\\)" "QString::null" _uic_CONTENTS "${_uic_CONTENTS}" ) +STRING(REGEX REPLACE "\nuic3: [^\n]+" "" _uic_CONTENTS "${_uic_CONTENTS}" ) +STRING(REGEX REPLACE "\n'[^\n]+' [^\n]+" "" _uic_CONTENTS "${_uic_CONTENTS}" ) #replace image15_data with img15_filename to make enable_final work STRING(REGEX REPLACE "image([0-9]+)_data" "img\\1_${KDE_UIC_BASENAME}" _uic_CONTENTS "${_uic_CONTENTS}") |