Re: [cmake-developers] VS 2010/MSbuild's custom build tool issues and a proposal

2011-11-21 Thread Brad King

On 11/18/2011 12:50 PM, James Bigler wrote:

What I'm envisioning is developing a new custom build tool,
call it CMake Custom Command (or CCC for short)


Would the custom commands in the project files just invoke this tool on every 
build?

-Brad
--

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] VS 2010/MSbuild's custom build tool issues and a proposal

2011-11-21 Thread James Bigler
On Mon, Nov 21, 2011 at 9:39 AM, Brad King brad.k...@kitware.com wrote:

 On 11/18/2011 12:50 PM, James Bigler wrote:

 What I'm envisioning is developing a new custom build tool,
 call it CMake Custom Command (or CCC for short)


 Would the custom commands in the project files just invoke this tool on
 every build?

 -Brad


Yes, any custom command in the project would invoke the same rule file.
Think of it as replacing VS's interesting custom build command rule with
our own.
--

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Re: [cmake-developers] VS 2010/MSbuild's custom build tool issues and a proposal

2011-11-21 Thread Brad King

On 11/21/2011 3:33 PM, James Bigler wrote:

On Mon, Nov 21, 2011 at 9:39 AM, Brad King brad.k...@kitware.com 
mailto:brad.k...@kitware.com wrote:
On 11/18/2011 12:50 PM, James Bigler wrote:
What I'm envisioning is developing a new custom build tool,
call it CMake Custom Command (or CCC for short)

Would the custom commands in the project files just invoke this tool on 
every build?

Yes, any custom command in the project would invoke the same rule file.

 Think of it as replacing VS's interesting custom build command rule with 
our own.

I've thought about this idea a few times before in the context of custom
commands with build-time implicit dependency scanning.  It's essentially
a make tool, isn't it?  Since nmake always comes with VS, perhaps it
can be utilized for this.

-Brad
--

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] VS 2010/MSbuild's custom build tool issues and a proposal

2011-11-21 Thread James Bigler
On Mon, Nov 21, 2011 at 1:47 PM, Bill Hoffman bill.hoff...@kitware.comwrote:


 On Nov 21, 2011 3:41 PM, Brad King brad.k...@kitware.com wrote:
 
  On 11/21/2011 3:33 PM, James Bigler wrote:
 
  On Mon, Nov 21, 2011 at 9:39 AM, Brad King brad.k...@kitware.commailto:
 brad.k...@kitware.com wrote:
 On 11/18/2011 12:50 PM, James Bigler wrote:
 What I'm envisioning is developing a new custom build tool,
 call it CMake Custom Command (or CCC for short)
 
 Would the custom commands in the project files just invoke this tool
 on every build?
 
  Yes, any custom command in the project would invoke the same rule file.
 
   Think of it as replacing VS's interesting custom build command rule
 with our own.
 
  I've thought about this idea a few times before in the context of custom
  commands with build-time implicit dependency scanning.  It's essentially
  a make tool, isn't it?  Since nmake always comes with VS, perhaps it
  can be utilized for this.
 
 

 That is kind of what we do with xcode and make.  Does nmake install with
 express versions?

This page seems to suggest so, but I'm having trouble determining this for
certain, and I don't want to install it for fear of it messing up my
existing VS installations.
--

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Re: [cmake-developers] VS 2010/MSbuild's custom build tool issues and a proposal

2011-11-21 Thread James Bigler
On Mon, Nov 21, 2011 at 2:03 PM, James Bigler jamesbig...@gmail.com wrote:

 On Mon, Nov 21, 2011 at 1:55 PM, James Bigler jamesbig...@gmail.comwrote:

 On Mon, Nov 21, 2011 at 1:47 PM, Bill Hoffman 
 bill.hoff...@kitware.comwrote:


 On Nov 21, 2011 3:41 PM, Brad King brad.k...@kitware.com wrote:
 
  On 11/21/2011 3:33 PM, James Bigler wrote:
 
  On Mon, Nov 21, 2011 at 9:39 AM, Brad King brad.k...@kitware.commailto:
 brad.k...@kitware.com wrote:
 On 11/18/2011 12:50 PM, James Bigler wrote:
 What I'm envisioning is developing a new custom build tool,
 call it CMake Custom Command (or CCC for short)
 
 Would the custom commands in the project files just invoke this
 tool on every build?
 
  Yes, any custom command in the project would invoke the same rule
 file.
 
   Think of it as replacing VS's interesting custom build command
 rule with our own.
 
  I've thought about this idea a few times before in the context of
 custom
  commands with build-time implicit dependency scanning.  It's
 essentially
  a make tool, isn't it?  Since nmake always comes with VS, perhaps
 it
  can be utilized for this.
 
 

 That is kind of what we do with xcode and make.  Does nmake install with
 express versions?

 This page seems to suggest so, but I'm having trouble determining this
 for certain, and I don't want to install it for fear of it messing up my
 existing VS installations.



 Forgot the link:

 http://www.tidytutorials.com/2009/08/nmake-makefile-tutorial-and-example.html


Ah, here's the definitive answer:

For VS 2010, yes it comes with EE.
http://msdn.microsoft.com/en-us/library/hs24szh9.aspx

For VS 2008, yes it comes with EE
http://msdn.microsoft.com/en-us/library/hs24szh9%28v=VS.90%29.aspx

For VS 2005, yes it comes with EE
http://msdn.microsoft.com/en-us/library/hs24szh9%28v=VS.80%29.aspx

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers