NAME
project_bin - Call a Dir::Project specific program
SYNOPSIS
[program] [program_arguments]
[program] --project_bin-help
DESCRIPTION
project_bin is used to call another project specific program, where the name of the program is simply the name that project_bin is invoked as.
Before the program is called, the DIRPROJECT environment variable is set, which has the link to the current project area. The DIRPROJECT_PATH directories are then searched to find the executable specified. See Dir::Project program_bin() for more details.
This enables multiple versions of the executable to exist in different project directories and everything to sort itself out.
This program is not usually called directly. Instead project_bin is symlinked as the name of the program to be executed. project_bin then uses that name to determine the program to be called.
If project_bin can't determine the project, it tries to execute {program}__notfound which is generally a link to a version of the program that is the default for when outside a project.
ARGUMENTS
- --debug
-
The debug flag is passed to the application, and also enables debugging messages from project_bin itself.
- --project_bin-debug
-
Strip this flag before passing to the application, and enable debugging.
- --project_bin-help
-
Show this help message and exit.
- ...
-
All other arguments are passed through to the application.
ENVIRONMENT
See Dir::Project for the list of relevant environment variables.
DISTRIBUTION
Dir-Project is part of the http://www.veripool.com/ free EDA software tool suite. The latest version is available from CPAN and from http://www.veripool.com/.
Copyright 2001-2006 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 or the Perl Artistic License.
AUTHORS
Wilson Snyder <wsnyder@wsnyder.org>