| icmstart.rc(7) | icmstart resource file | icmstart.rc(7) |
icmstart.rc - The icmstart(1) resource file
The icmstart.rc file specifies files that are installed by icmstart(1).
A default icmstart.rc is found in /etc/icmake/icmstart.rc, but if $HOME/.icmake/icmstart.rc exists then the latter file is used by icmstart(1). $HOME/.icmake/icmstart.rc in turn is overruled by specifying a -c option when invoking icmstart(1).
The default resource file contains the following specifications, preparing for the construction of a C++ program using icmbuild(1):
CLASSES
icmconf
P main.cc
P main.ih
P usage.cc
P version.cc
P ? scanner
P ? parser
The icmstart.rc file may contain:
An installation mode consists of a combination of:
The following source-destination specifications can be used in an icmstart.rc file (using skeletons below to refer to icmstart’s skeleton files directory):
CLASSES
skeletons/CLASSES is installed as dest/CLASSES;
dir/file
skeletons/file is installed as dest/dir/file;
~/.icmake/file
$HOME/.icmake/file is installed as dest/file
When the above source specifications are followed by a destination specification destspec (a file or non-absolute directory specification) then the source specification is installed as dest/destspec below the destination directory specified when calling icmstart(1). Examples:
CLASSES CLASSES # skeletons/CLASSES is installed as
# dest/CLASSES
dir/file dir/file # skeletons/dir/file is installed as
# dest/dir/file
~/.icmake/file .icmake/file # $HOME/.icmake/file is installed as
# dest/.icmake/file
Icmstart converts destination specifications to absolute paths. If these
absolute paths do not begin with dest’s absolute path then an
error message is displayed and icmstart ends.
The mentioned paths are sugestive only and may be installation dependent:
icmake(1), icmbuild(1), icmconf(7), icmstart(1)
None reported
This is free software, distributed under the terms of the GNU General Public License (GPL).
Frank B. Brokken (f.b.brokken@rug.nl).
| 1992-2024 | icmake.12.00.01 |