3 # This dirty script can be used to generate geany project files for C/C++ project
6 # $ python prgen.py > .geanyprj
14 name=insert_project_name_here
30 for root
, dirs
, files
in os
.walk("."):
32 if os
.path
.splitext(name
)[1] in (".cpp", ".c", ".h", ".cxx"):
33 print "file%d=%s" % (c
, os
.path
.join(root
, name
))