kolourpaint/gen_cmake_include_dirs

8 lines
271 B
Bash
Executable File

#!/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