stk-code_catmod/update_file_list.sh
auria 3c2b69fb5c Apply a bunch of CMake patches by riebl, thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10921 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 00:18:51 +00:00

12 lines
311 B
Bash
Executable File

#!/bin/sh
DEST_FILE="sources.cmake"
echo "# Generated by $0. Do not edit this file manually." > $DEST_FILE
echo "set(STK_SOURCES" >> $DEST_FILE
find src \
-path 'src/bullet' -prune -o \
-path 'src/ide' -prune -o \
-path 'src/wiiuse' -prune -o \
-regex ".*\.cpp" -print >> $DEST_FILE
echo ")" >> $DEST_FILE