[cmake-developers] [CMake 0013831]: VS 2010 generator doesn't respect the EXTERNAL_OBJECT propery

Mantis Bug Tracker mantis at public.kitware.com
Thu Jan 3 17:33:40 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13831 
====================================================================== 
Reported By:                Amine Khaldi
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13831
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-01-03 17:33 EST
Last Modified:              2013-01-03 17:33 EST
====================================================================== 
Summary:                    VS 2010 generator doesn't respect the
EXTERNAL_OBJECT propery
Description: 
We (ReactOS) tried to work around the lack of support for preprocessed asm file
in the VS generators, by creating a custom command where we preprocess using cl
and then pass to ml to generate objects. We then add these objects back as
source files for the target in question, marking them as EXTERNAL_OBJECT. This
works perfectly for the normal makefiles, the objects get used in the linker.
With the VS 2010 generator we get these objects as "not part of the build" while
they should in fact be Objects.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-01-03 17:33 Amine Khaldi   New Issue                                    
======================================================================




More information about the cmake-developers mailing list