MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014777 | CMake | CMake | public | 2014-02-27 05:55 | 2014-10-06 10:32 |
Reporter | Petr Kmoch | ||||
Assigned To | Brad King | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | Windows | OS Version | ||
Product Version | CMake 2.8.11 | ||||
Target Version | CMake 3.1 | Fixed in Version | CMake 3.1 | ||
Summary | 0014777: OBJECT libraries cause Fortran to relink each time | ||||
Description | When using the Visual Studio 10 generator and the solution includes a Fortran executable using objects from a C[XX] OBJECT library, the executable will relink each time 'Build solution' is run (or the executable's project is built). It ceases to happen when the object files are manually removed from the project as sources and instead added as additional linker dependencies. CMake should probably take this approach when generating a vfproj. I believe the same was happening for me in VS 2005, but I no longer have that on hand for testing. Neither do I have a chance to test this on newer Visual Studios. Using "Intel(R) Visual Fortran Compiler XE 13.0.1.119" | ||||
Steps To Reproduce | Expand the attached testcase and run > cmake -G "Visual Studio 10" | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://public.kitware.com/Bug/file/5085/fortran_object_library.zip | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-02-27 05:55 | Petr Kmoch | New Issue | |||
2014-02-27 05:55 | Petr Kmoch | File Added: fortran_object_library.zip | |||
2014-02-27 09:59 | Brad King | Note Added: 0035215 | |||
2014-02-27 10:06 | Petr Kmoch | Note Added: 0035216 | |||
2014-02-27 10:16 | Brad King | Note Added: 0035217 | |||
2014-02-27 10:16 | Brad King | Assigned To | => Brad King | ||
2014-02-27 10:16 | Brad King | Status | new => resolved | ||
2014-02-27 10:16 | Brad King | Resolution | open => fixed | ||
2014-02-27 10:16 | Brad King | Fixed in Version | => CMake 3.1 | ||
2014-02-27 10:16 | Brad King | Target Version | => CMake 3.1 | ||
2014-10-06 10:32 | Robert Maynard | Note Added: 0036920 | |||
2014-10-06 10:32 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|