[cig-commits] r13905 - cs/cigma/trunk

luis at geodynamics.org luis at geodynamics.org
Wed Jan 21 11:37:58 PST 2009


Author: luis
Date: 2009-01-21 11:37:58 -0800 (Wed, 21 Jan 2009)
New Revision: 13905

Added:
   cs/cigma/trunk/cscope.sh
Log:
Added script for creating the file 'cscope.files'

The source files will be indexed by the cscope source browser.
Once the file cscope.out is created, it will be loaded automatically
by vim (navigate with Ctrl-] and Ctrl-t).

Added: cs/cigma/trunk/cscope.sh
===================================================================
--- cs/cigma/trunk/cscope.sh	                        (rev 0)
+++ cs/cigma/trunk/cscope.sh	2009-01-21 19:37:58 UTC (rev 13905)
@@ -0,0 +1,6 @@
+#!/bin/bash
+cdirs="src"
+rm -f cscope.files
+for d in $cdirs; do
+    find $PWD/$d -name '*.h' -o -name '*.hpp' -o -name '*.cpp' >> cscope.files
+done


Property changes on: cs/cigma/trunk/cscope.sh
___________________________________________________________________
Name: svn:executable
   + *



More information about the CIG-COMMITS mailing list