table of contents
SP_INCLUDER(1) | User Contributed Perl Documentation | SP_INCLUDER(1) |
NAME¶
sp_includer - Form include statements
SYNOPSIS¶
sp_includer <file1.cpp>...
DESCRIPTION¶
sp_includer simply takes all of the arguments on the command line and prints #include statements for each argument.
This allows multiple files to be compiled in one pass; rather than using
gcc file1.cpp gcc file2.cpp gcc file3.cpp
or the equivalently slow
gcc file1.cpp file2.cpp file3.cpp
this program allows
sp_includer file1.cpp file2.cpp file3.cpp > file_CONCAT.cpp gcc file_CONCAT.cpp
where any headers all files require will be read only once. With the SystemC headers, this saves ~5 seconds per file, many minutes across an entire large project.
ARGUMENTS¶
DISTRIBUTION¶
SystemPerl is part of the <http://www.veripool.org/> free SystemC software tool suite. The latest version is available from CPAN and from <http://www.veripool.org/systemperl>.
Copyright 2001-2014 by Wilson Snyder. This package is free software; you can redistribute it and/or modify it under the terms of either the GNU Lesser General Public License Version 3 or the Perl Artistic License Version 2.0.
AUTHORS¶
Wilson Snyder <wsnyder@wsnyder.org>
SEE ALSO¶
SystemC::Manual
2014-08-17 | perl v5.26.1 |