Skip to content
Permalink
Browse files

fix sip include test

  • Loading branch information
3nids authored and nyalldawson committed Nov 11, 2020
1 parent eddf6fe commit fec9c525ddc0430ee323299e6ccfa6e1e27b91f5
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/sip_include.sh
@@ -46,7 +46,7 @@ for module in "${modules[@]}"; do
headers=$(
for source in "${sources[@]}"; do
echo "QGIS_${module^^}_${source}"
${GP}sed -r -n -e "/^\s*SET\s*\(QGIS_${module^^}_${source}/,/\)\$/{ /^\s*SET\s*\(QGIS_${module^^}_${source}/d; /\)\$/d; p; }" src/${module}/CMakeLists.txt | \
${GP}sed -r -n -e "/^\s*set\s*\(QGIS_${module^^}_${source}/,/\)\$/{ /^\s*set\s*\(QGIS_${module^^}_${source}/d; /\)\$/d; p; }" src/${module}/CMakeLists.txt | \
${GP}sed -r -e '/\.cc?$/d' `# remove c and cc extensions` \
-e 's/\.cpp$/.h/' `# rename cpp file as headers` \
-e '/^\s*\$\{CMAKE_(CURRENT_)?BINARY_DIR\}/d' \

0 comments on commit fec9c52

Please sign in to comment.
You can’t perform that action at this time.