On Tue, Jun 30, 2009 at 7:23 AM, Bill Hoffman <[email protected]>wrote:

> James Bigler wrote:
>
>> I have a project that generates object files as part of the compilation.
>>  I add the object names to the project with ${CMAKE_CFG_INTDIR} in the file
>> name and they show up in the solution explorer (which is what I would
>> expect).
>>
>> VS seems to do the right thing most of the time, but occasionally it will
>> not add the object files I generate to the link line.  They are just
>> missing.  If I restart Visual Studio and run compile again, the objects are
>> added back in as they should be.
>>
>> Has anyone noticed this?
>>
>> Is there something I should be doing in CMake to help avoid this?
>>
>> I'm using CMake 2.6.4, VS 2005 SP 1, on XP 64.
>>
>> Thanks,
>> James
>>
>>  If you can create a small example with this issue and create a bug report
> that would be the best way to find out what is wrong.
>
> -Bill
>

OK, I finally got a reproducer for the crash and the missing objects that
doesn't require an external tool (I'm using cl.exe with a custom command).
It turns out, I needed to create a dll as part of the build process.

http://www.vtk.org/Bug/view.php?id=9221

James
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to