View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010174CMakeCMakepublic2010-01-21 06:072016-06-10 14:31
ReporterIvan S. Lyapunov 
Assigned ToBill Hoffman 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0010174: Wrong project settings generation for Visual Studio 2008 with MACRO_ADD_FILE_DEPENDENCIES
DescriptionQt4 MACRO_ADD_FILE_DEPENDENCIES can produce bad projects headers option, so project may does not compile. attached sample project shows the "C/C++ Compiler Tool" for BarClass1.h in generated solution. solution build will not be successful due to crazy behavior described at
http://blogs.msdn.com/vcblog/archive/2009/07/21/linker-warning-lnk4221-and-some-tips-to-avoid-it.aspx [^]

to reproduce the bug just run build.cmd in build directory and try to compile solution in Visual Studio IDE (not nmake!). we use provided patch to temporary fix solution build but the reals solution is to fix MACRO_ADD_FILE_DEPENDENCIES because project settings looks good without it.
TagsNo tags attached.
Attached Fileszip file icon project.zip [^] (3,511 bytes) 2010-01-21 06:07

 Relationships

  Notes
(0020107)
Clinton Stimpson (developer)
2010-04-08 19:01

The patch inside the project.zip is for cmLocalVisualStudio7Generator.cxx.
(0025667)
Ivan S. Lyapunov (reporter)
2011-03-04 07:30

still buggy in 2.8.4 even with
SET_SOURCE_FILES_PROPERTIES PROPERTIES OBJECT_DEPENDS
(0033796)
Ivan S. Lyapunov (reporter)
2013-09-11 05:26

any updates? 3 years old already :D
(0041642)
Kitware Robot (administrator)
2016-06-10 14:27

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2010-01-21 06:07 Ivan S. Lyapunov New Issue
2010-01-21 06:07 Ivan S. Lyapunov File Added: project.zip
2010-01-21 08:36 Bill Hoffman Status new => assigned
2010-01-21 08:36 Bill Hoffman Assigned To => Clinton Stimpson
2010-04-08 19:00 Clinton Stimpson Assigned To Clinton Stimpson => Bill Hoffman
2010-04-08 19:01 Clinton Stimpson Note Added: 0020107
2011-03-04 07:30 Ivan S. Lyapunov Note Added: 0025667
2013-09-11 05:26 Ivan S. Lyapunov Note Added: 0033796
2016-06-10 14:27 Kitware Robot Note Added: 0041642
2016-06-10 14:27 Kitware Robot Status assigned => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team