1SP_INCLUDER(1) User Contributed Perl Documentation SP_INCLUDER(1)
2
3
4
6 sp_includer - Form include statements
7
9 sp_includer <file1.cpp>...
10
12 sp_includer simply takes all of the arguments on the command line and
13 prints #include statements for each argument.
14
15 This allows multiple files to be compiled in one pass; rather than
16 using
17
18 gcc file1.cpp
19 gcc file2.cpp
20 gcc file3.cpp
21
22 or the equivalently slow
23
24 gcc file1.cpp file2.cpp file3.cpp
25
26 this program allows
27
28 sp_includer file1.cpp file2.cpp file3.cpp > file_CONCAT.cpp
29 gcc file_CONCAT.cpp
30
31 where any headers all files require will be read only once. With the
32 SystemC headers, this saves ~5 seconds per file, many minutes across an
33 entire large project.
34
36 --help
37 Displays this message and program version and exits.
38
39 --version
40 Displays program version and exits.
41
43 SystemPerl is part of the <http://www.veripool.org/> free SystemC
44 software tool suite. The latest version is available from CPAN and
45 from <http://www.veripool.org/systemperl>.
46
47 Copyright 2001-2010 by Wilson Snyder. This package is free software;
48 you can redistribute it and/or modify it under the terms of either the
49 GNU Lesser General Public License Version 3 or the Perl Artistic
50 License Version 2.0.
51
53 Wilson Snyder <wsnyder@wsnyder.org>
54
56 SystemC::Manual
57
58
59
60perl v5.12.2 2010-01-12 SP_INCLUDER(1)