Fossil SCM

Adjusted the optional cscope feature so it collects symbols only from the src subdir, primarily to get the bld/* stuff out of the way.

wyoung 2021-08-11 18:56 trunk
Commit b6cc6f680f49bdd3d650b86ac74e52ffc77e0836d1d2838db1eb88b14f30f08b
1 file changed +1 -1
+1 -1
--- auto.def
+++ auto.def
@@ -51,11 +51,11 @@
5151
# Use pread/pwrite system calls in place of seek + read/write if possible
5252
define USE_PREAD [cc-check-functions pread]
5353
5454
# If we have cscope here, we'll use it in the "tags" target
5555
if {[cc-check-progs cscope]} {
56
- define COLLECT_CSCOPE_DATA "cscope -bR -s$::autosetup(srcdir)/src"
56
+ define COLLECT_CSCOPE_DATA "cscope -bR $::autosetup(srcdir)/src/*.\[ch\]"
5757
} else {
5858
define COLLECT_CSCOPE_DATA ""
5959
}
6060
6161
# Find tclsh for the test suite.
6262
--- auto.def
+++ auto.def
@@ -51,11 +51,11 @@
51 # Use pread/pwrite system calls in place of seek + read/write if possible
52 define USE_PREAD [cc-check-functions pread]
53
54 # If we have cscope here, we'll use it in the "tags" target
55 if {[cc-check-progs cscope]} {
56 define COLLECT_CSCOPE_DATA "cscope -bR -s$::autosetup(srcdir)/src"
57 } else {
58 define COLLECT_CSCOPE_DATA ""
59 }
60
61 # Find tclsh for the test suite.
62
--- auto.def
+++ auto.def
@@ -51,11 +51,11 @@
51 # Use pread/pwrite system calls in place of seek + read/write if possible
52 define USE_PREAD [cc-check-functions pread]
53
54 # If we have cscope here, we'll use it in the "tags" target
55 if {[cc-check-progs cscope]} {
56 define COLLECT_CSCOPE_DATA "cscope -bR $::autosetup(srcdir)/src/*.\[ch\]"
57 } else {
58 define COLLECT_CSCOPE_DATA ""
59 }
60
61 # Find tclsh for the test suite.
62

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button