diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-23 23:42:11 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-23 23:42:11 +0000 |
commit | b6fc43ccd522dfbc1e215b12adb8208c156bbd31 (patch) | |
tree | b6d14378dd6c3d2f74ea8acf515cef7f4a024cb2 /kioslave/fish/genfishcode.cmake | |
parent | d53bf360906757a36588588fb0286d3b4784ffcb (diff) | |
download | tdebase-b6fc43ccd522dfbc1e215b12adb8208c156bbd31.tar.gz tdebase-b6fc43ccd522dfbc1e215b12adb8208c156bbd31.zip |
[kdebase] initial cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1216551 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kioslave/fish/genfishcode.cmake')
-rw-r--r-- | kioslave/fish/genfishcode.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kioslave/fish/genfishcode.cmake b/kioslave/fish/genfishcode.cmake new file mode 100644 index 000000000..9b35a51ec --- /dev/null +++ b/kioslave/fish/genfishcode.cmake @@ -0,0 +1,8 @@ +#!/bin/sh + +SUM=$( @MD5SUM@ @CMAKE_CURRENT_SOURCE_DIR@/fish.pl | cut -d ' ' @MD5SUM_CUT@ ) + +#echo "#define CHECKSUM "\"$SUM\"" > fishcode.h +#echo 'static const char *fishCode(' >> fishcode.h +#sed -e 's/\\/\\\\/g;s/"/\\"/g;s/^[ ]*/"/;/^"# /d;s/[ ]*$$/\\n"/;/^"\\n"$$/d;s/{CHECKSUM}/'$$SUM'/;' @CMAKE_CURRENT_SOURCE_DIR@/fish.pl >> fishcode.h +#echo ');' >> fishcode.h |