[cmake-developers] [CMake 0015457]: ninja generator relinks all executables after incremental build in LLVM due to extra .lib output file

Mantis Bug Tracker mantis at public.kitware.com
Wed Mar 18 14:37:50 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15457 
====================================================================== 
Reported By:                Reid Kleckner
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15457
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-03-18 14:37 EDT
Last Modified:              2015-03-18 14:37 EDT
====================================================================== 
Summary:                    ninja generator relinks all executables after
incremental build in LLVM due to extra .lib output file
Description: 
Old versions of cmake would generate this ninja target:
build bin\opt.exe: CXX_EXECUTABLE_LINKER ...

Recent versions (3.2+) generate this target:
build bin\opt.exe lib\opt.lib: CXX_EXECUTABLE_LINKER_RSP_FILE

Since this is an executable, no .lib file should be generated, right? Why does
the linker build rule even list the /implib flag? Maybe this is some
functionality I'm unaware of, but so far as I can tell it is extraneous.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-03-18 14:37 Reid Kleckner  New Issue                                    
======================================================================



More information about the cmake-developers mailing list