blob: 0ea0d9c00b0965d050bdc6beaee84df31008d84b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
WebCScope Installation
Quick Install
0. Create a directory called cscope under your /cgi-bin (virtual) directory.
Copy all the files in the distribution to this directory.
1. Edit the 'cscope' file and change the following items:
- Location to the perl interpreter
- Location of the cscope database and other modifiable parameters
- Feedback name and email
- Location of the syntax highlighter, if you wish to use it
2. Syntax highlighter
- The syntax highlighter must be built if you decide to use it. If you
do not want syntax highlighting, you can ignore this step and set the
highlighter to /bin/cat.
- Compile 'hilite.c' using 'gcc -o hilite hilite.c'
3. Icons
- Copy the images from the icons directory into the /icons (virtual)
directory on the web server. You can also replace these images with
whatever you choose.
4. Organizing your CScope databases
- WebCScope supports multiple databases in $cscopedir
- Create a directory for each project or sub-source in $cscopedir and,
generate your cscope database using the following commands.
- find /some/source/dir -name '*.[chyls]' -print > cscope.files
- cscope -b -q
- Repeat the above step for each database you wish to create
|