File: main.comment

package info (click to toggle)
c%2B%2B-annotations 13.02.02-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,576 kB
  • sloc: cpp: 25,297; makefile: 1,523; ansic: 165; sh: 126; perl: 90; fortran: 27
file content (25 lines) | stat: -rw-r--r-- 665 bytes parent folder | download | duplicates (2)
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
// to compile, using an absolute link: 

// gm -c -isystem /home/frank/src/annotations/yo/modules/examples/locallib/hdrs main.cc

// the absolute location may contain links to the actual locations of the .h
// and .h.gcm files

// there must be a link in gcm.cache to the initial part(s) of the
// desitnation, e.g., gcm.cache/home -> /home
// if a shortcut link is defined, e.g., in /home/frank:
//    ln -s /home/frank/src/annotations/yo/modules/examples/mylib/hdrs libhdrs
// then 
//    gm -c -isystem /home/frank/libhdrs main.cc 
// also works

import "base.h";
import "middle.h";
import "top.h";

int main()
{
    Base base;
    Middle middle;
    Top top;
}