From: khizmax Date: Sun, 19 Apr 2015 17:48:04 +0000 (+0300) Subject: Added CMakeList patching for distributive script X-Git-Tag: v2.1.0~245^2~18 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=05fb73d1fb69c0129b107f851ad9dce82cf1477c;p=libcds.git Added CMakeList patching for distributive script --- diff --git a/tools/make_distrib.pl b/tools/make_distrib.pl index 0c8cd102..1e9d9483 100644 --- a/tools/make_distrib.pl +++ b/tools/make_distrib.pl @@ -26,7 +26,8 @@ print "make copyright...\n" ; makeCopyright($DistrDir); print "patch files...\n"; -patch_file("$DistrDir/build/Makefile", 'VERSION=\d+\.\d+\.\d+', "VERSION=$Version" ) ; +patch_file("$DistrDir/build/Makefile", 'VERSION=\d+\.\d+\.\d+', "VERSION=$Version" ); +patch_file("$DistrDir/CMakeList.txt", 'PROJECT_VERSION \d+\.\d+\.\d+', "PROJECT_VERSION $Version" ); patch_file("$DistrDir/doxygen/cds.doxy", 'PROJECT_NUMBER\s*=\s*\d+\.\d+\.\d+', "PROJECT_NUMBER = $Version" ) ; patch_file("$DistrDir/projects/android/jni/Android.mk", 'CDS_LIBRARY_VERSION\s*:=\s*\d+\.\d+\.\d+', "CDS_LIBRARY_VERSION := $Version" );