Re: [CMake] Question about Windows support.

2006-06-05 Thread Ryan Connelly
I noticed this post earlier. Bill, how would i use the "unsupported feature" of cmake to use precompiled headers for visual studio 2005? I am about to start write a new generator which extends the existing code, but was wondering if there was some undocumented way to do this. Otherwise i am go

Re: [CMake] Question about Windows support.

2006-06-05 Thread Sylvain Benner
> What I need is a way to add in a specific attribute in the XML project > (namely UsingPrecompiledHeaders = X). This will tell the ide what to do. To write to the XML files additionnal info that it is not supported by CMake, you must write your own generator. Or extend the current generator

Re: [CMake] Question about Windows support.

2006-06-05 Thread Ryan Connelly
<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> To: "Sylvain Benner" <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> Cc: mailto:cmake@cmake.org>> Sent: Monday, June 05, 2006 1:45 PM Subject: Re: [CMake] Question about Windows support. > How did you (1) disable

Re: [CMake] Question about Windows support.

2006-06-05 Thread Sylvain Benner
> SET(CMAKE_SUPPRESS_REGENERATION TRUE)> will do the same thing but without having to modifiy the source of cmake.   I tried it and it works great. It is just needed to add the source file manually if CMAKE_SUPPRESS_REGENERATION is set.   IF(CMAKE_SUPPRESS_REGENERATION)     LIST(APPEND TARGET

Re: [CMake] Question about Windows support.

2006-06-05 Thread Sylvain Benner
Great, thank you Bill ! - Original Message - From: "William A. Hoffman" <[EMAIL PROTECTED]> To: "Sylvain Benner" <[EMAIL PROTECTED]>; "David Cole" <[EMAIL PROTECTED]> Cc: Sent: Monday, June 05, 2006 3:25 PM Subject: Re: [CMake] Questio

Re: [CMake] Question about Windows support.

2006-06-05 Thread William A. Hoffman
At 08:31 AM 6/5/2006, Sylvain Benner wrote: >I wrote a custom generator to do this. You must get the source files from the >CVS. > >(1) You can disable the custom build rules by redefining : >void cmLocalVisualStudio7GeneratorMP::AddVCProjBuildRule(cmTarget& tgt) > SET(CMAKE_SUPPRESS_REGENERATI

Re: [CMake] Question about Windows support.

2006-06-05 Thread Sylvain Benner
time (Configure button).   Cheers, Sylvain       - Original Message - From: "David Cole" <[EMAIL PROTECTED]> To: "Sylvain Benner" <[EMAIL PROTECTED]> Cc: <cmake@cmake.org> Sent: Monday, June 05, 2006 1:45 PM Subject: Re: [CMake] Question about Wi

Re: [CMake] Question about Windows support.

2006-06-05 Thread David Cole
illiam A. Hoffman" <[EMAIL PROTECTED]> Cc: Sent: Friday, June 02, 2006 7:41 PM Subject: Re: [CMake] Question about Windows support. Thank you for the reply. This sounds very encouraging! I have ordered a copy of the book from Kitware about CMake. In order to more quickly come up

Re: [CMake] Question about Windows support.

2006-06-05 Thread Sylvain Benner
Sent: Friday, June 02, 2006 7:41 PM Subject: Re: [CMake] Question about Windows support. Thank you for the reply. This sounds very encouraging! I have ordered a copy of the book from Kitware about CMake. In order to more quickly come up to speed on how to do the things listed in my original p

Re: [CMake] Question about Windows support.

2006-06-03 Thread Brandon J. Van Every
James Mansion wrote:  >  MinGW / MSYS and Cygwin are fine also.  Windows != Visual Studio.  :-)   In 20-something years working (mostly in investment backs) on systems with Win32 and UNIX deployment, I've *never* seen a team deploy C or C++ on Win32 with gcc. So what?  Who ca

RE: [CMake] Question about Windows support.

2006-06-03 Thread William A. Hoffman
At 11:37 AM 6/3/2006, James Mansion wrote: >>Please give specific examples of this, these are bugs. For the most part >the properties >>should match the flags used. > >Most recently I noticed with 'defines' and I think include >paths. But definitely the project relationships don't seem >set up.

RE: [CMake] Question about Windows support.

2006-06-03 Thread James Mansion
>Please give specific examples of this, these are bugs. For the most part the properties >should match the flags used. Most recently I noticed with 'defines' and I think include paths. But definitely the project relationships don't seem set up. I'll try to distill something. ___

RE: [CMake] Question about Windows support.

2006-06-03 Thread William A. Hoffman
At 04:35 AM 6/3/2006, James Mansion wrote: > find that the generated projects >Do The Right Thing but don't always reflect settings properly in the Properties >viewers, which is a pain. Please give specific examples of this, these are bugs. For the most part the properties should match the fla

RE: [CMake] Question about Windows support.

2006-06-03 Thread James Mansion
 >  MinGW / MSYS and Cygwin are fine also.  Windows != Visual Studio.  :-)  In 20-something years working (mostly in investment backs) on systems with Win32 and UNIX deployment, I've *never* seen a team deploy C or C++ on Win32 with gcc.   VisualStudio is number 1 by an enormous margin.  L

Re: [CMake] Question about Windows support.

2006-06-02 Thread Brandon J. Van Every
William A. Hoffman wrote: Windows Visual Studio is one of the major platforms for CMake, and is very actively supported. MinGW / MSYS and Cygwin are fine also.  Windows != Visual Studio.  :-) Cheers, Brandon Van Every ___ CMake mailing l

Re: [CMake] Question about Windows support.

2006-06-02 Thread Bennett Smith
Thank you for the reply. This sounds very encouraging! I have ordered a copy of the book from Kitware about CMake. In order to more quickly come up to speed on how to do the things listed in my original post can you suggest any resources? Thus far in my searching of the mailing list archive I

Re: [CMake] Question about Windows support.

2006-06-02 Thread William A. Hoffman
At 12:38 PM 6/2/2006, Bennett Smith wrote: >Hi, > >I'm just starting to learn cmake, and am wondering what the level of >on-going support is for the Windows platform. A couple things that I >am hoping cmake can do are: > >1. Handle generation of library and executable targets with different >names

[CMake] Question about Windows support.

2006-06-02 Thread Bennett Smith
Hi, I'm just starting to learn cmake, and am wondering what the level of on-going support is for the Windows platform. A couple things that I am hoping cmake can do are: 1. Handle generation of library and executable targets with different names for debug and release configurations. 2. Handle