MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0014994 | CMake | CMake | public | 2014-06-26 09:00 | 2015-01-05 08:38 |
|
Reporter | Emmanuel Blot | |
Assigned To | | |
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | duplicate | |
Platform | | OS | OS X 10.9.3 / eCos 3.0 | OS Version | |
Product Version | CMake 3.0 | |
Target Version | | Fixed in Version | | |
|
Summary | 0014994: Add an option to change the object file name |
Description | Currently, it does not seem possible to (re)name an object file which CMake computes from the source file.
When building an application with static libraries, from multiple third party libraries, some library use the same name for a source file.
For example libcurl and a crypto library (PolarSSL, WolfSSL) use the same filenames for a crypto algorithm. There is no issue at compilation time since each source file is built within its dedicated CMAKE_CURRENT_BINARY_DIR.
However it is not possible to combine both object files within the same archive, as both libs end up with the same object file name.
It would be very helpful to provide a way to add a prefix to the generated object filenames so that no collision could occur. |
Steps To Reproduce | |
Additional Information | I did not find any way to circumvent this limitation, but renaming the source files.
This is not really an option as merging upstream updates quickly become a nightmare if the file-to-be-merged has been renamed.
|
Tags | No tags attached. |
Relationships | duplicate of | 0014874 | closed | Brad King | Static library can miss some object files |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-06-26 09:00 | Emmanuel Blot | New Issue | |
2014-06-26 09:16 | Nils Gladitz | Relationship added | duplicate of 0014874 |
2014-06-27 09:22 | Brad King | Note Added: 0036263 | |
2014-06-27 09:22 | Brad King | Status | new => resolved |
2014-06-27 09:22 | Brad King | Resolution | open => duplicate |
2014-06-27 09:23 | Brad King | Note Added: 0036264 | |
2015-01-05 08:38 | Robert Maynard | Note Added: 0037572 | |
2015-01-05 08:38 | Robert Maynard | Status | resolved => closed |