File: gen_cmake_include_dirs

package info (click to toggle)
kolourpaint 4:18.04.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 14,544 kB
  • sloc: cpp: 37,589; xml: 327; sh: 10; makefile: 6
file content (7 lines) | stat: -rwxr-xr-x 271 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
#!/bin/bash
# Recalculates the KolourPaint-specific part of CMakeLists.txt's "include_directories()"

for f in `find -type d | fgrep -v .git | egrep -v '^\.$' | egrep -v '^\./pics ^\./patches$ ^\./tests$' | cut -c3- | sort`
do
	echo '${CMAKE_CURRENT_SOURCE_DIR}/'$f
done