[cmake-developers] [CMake 0013883]: add_custom_command associated with PRE_LINK doesn't work as expected when compiling with msbuild.exe from a windows batch

Mantis Bug Tracker mantis at public.kitware.com
Mon Jan 28 08:26:24 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13883 
====================================================================== 
Reported By:                Dom Ledit
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13883
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   urgent
Status:                     new
====================================================================== 
Date Submitted:             2013-01-28 08:26 EST
Last Modified:              2013-01-28 08:26 EST
====================================================================== 
Summary:                    add_custom_command associated with PRE_LINK doesn't
work as expected when compiling with msbuild.exe from a windows batch
Description: 
The add_custom_command associated with the PRE_LINK argument miss-behaves if we
try to compile/link a Visual Studio 10 solution by calling msbuild.exe from a
Windows batch.
No issue if we compile/link the solution from the Visual Studio 10 IDE or using
the devenv CLI.

Steps to Reproduce: 
See the README.txt file in the attached zip file for instructions to install the
source directory tree, to configure the CMake Makefile and build the
test_program.exe.
More details are also given in the README.txt file
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-01-28 08:26 Dom Ledit      New Issue                                    
2013-01-28 08:26 Dom Ledit      File Added: PreLinkEvent.zip                    
======================================================================




More information about the cmake-developers mailing list