File: gen_cmake_srcs

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 195 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
#!/bin/bash
# Recalculates the KolourPaint-specific part of CMakeLists.txt's "set(kolourpaint_SRCS"

for f in `find -name \*.cpp | cut -c3- | sort`
do
	echo '${CMAKE_CURRENT_SOURCE_DIR}/'$f
done