Opened 18 years ago
Closed 18 years ago
#30 closed Feature request (fixed)
Support for <project> placeholder for patterns
Reported by: | Owned by: | arnault | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | a. Usage | Version: | |
Severity: | normal | Keywords: | |
Cc: | OS: | All | |
If Other, could you precise: | Experiment: | Atlas | |
If Other, could you precise: | |||
Stack trace: | |||
Steps to reproduce: |
Description
CMT provides several placeholders for use within patterns, most specifically <package>, which is replaced by the package name at build time. I'd like to see <project> added in the same way. One motivation for this is shown by the existing installed_library pattern. This essentially has:
macro_append <package>_linkopts " -L$(bin) -l<package> <extras> "
which is anyway incorrect (so needs to be fixed). The correct fix would be something like:
macro_append <package>_linkopts "" \ <project>_without_installarea " -L$(<PACKAGE>ROOT)/$ (<package>_tag)" ; \ macro_append <package>_linkopts " -l<package> <extras> "
Which would use the library from within the package if no InstallArea is present, and otherwise use the symlinked version from the InstallArea.
Change History (2)
comment:1 Changed 18 years ago by
Experiment: | → Atlas |
---|---|
OS: | → All |
Type: | defect → Feature request |
comment:2 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The <project> placeholder already exists since v1r18p200606.