Hello Peter, Thursday, July 13, 2006, 11:04:38 PM, you wrote:
PK> Oh really. Cool because I just submitted a bug and tried fixing PK> it myself. I got about 1/2 way there wil Brad's help, then I was PK> stumped when I got to the "PreCompiledHeaderThrough" setting. I PK> believe that the cmakelist file must specify it somewhere, but I'm PK> not quite sure how to handle that. Is your post in the trunk code line? Please check out my patch. It adds xml pch support on per file & per target level ... except for VC++ automatic pch generation which is broken. I didn't do "PreCompiledHeaderThrough" because I didn't need it. In short, there are few ways to do it - you can simply parse the command line option arguments, or the proper way to do some kind of generalization like SET_PRECOMPILED_HEADER(...) across archs. & introduce the automatic .pch path generation, thus enabling the out-of-tree builds. :) DISCLAIMER: These are theoretical conjectures as I am a cmake newbie - please excuse any obvious oversights. PK> http://www.cmake.org/Bug/bug.php?op=show&bugid=3512&pos=0 PK> On 7/13/06, speedy <[EMAIL PROTECTED]> wrote: PK> Hello Peter, PK> you're lucky - check the mail-list archives of this month :) PK> I've posted a patch for precompiled headers support for VS.NET PK> 2003. :) PK> Thursday, July 13, 2006, 8:40:48 PM, you wrote: BK>> Peter Kahn wrote: >>> I noticed that there is no support for the xml generation for this and a >>> bunch of other options in the VS.NET < http://VS.NET> 2003 vcproj >>> files. If all the xml settings correspond to command line switches, >>> then I can determine the switches and set them in the CMAKE_CXX_FLAGS >>> variable. >>> >>> Is this the standard solution for areas of the xml not currently handled >>> by cmake? BK>> No, but you can submit a patch to the bug tracker to add more options. BK>> The flag-to-xml-attribute map is here: BK>> http://www.cmake.org/cgi-bin/viewcvs.cgi/Source/cmLocalVisualStudio7Generator.cxx?root=CMake&view=markup BK>> See the cmLocalVisualStudio7GeneratorFlagTable table. BK>> -Brad BK>> _______________________________________________ BK>> CMake mailing list BK>> [email protected] BK>> http://www.cmake.org/mailman/listinfo/cmake PK> -- PK> Best regards, PK> speedy mailto: [EMAIL PROTECTED] -- Best regards, speedy mailto:[EMAIL PROTECTED] _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
