[CMake] CMake and VS2010

2011-05-19 Thread LaViolette, Alan
I am working on converting to Visual Studio 2010 and the solution file that CMake generates does not have any of the target marked for build. I have to open up the Configuration Manager and select the build box for all my projects. When I save the modified solution back out I get additional

Re: [CMake] CMake and VS2010

2011-05-19 Thread LaViolette, Alan
yes I have CMake 2.8.4 From: David Cole [mailto:david.c...@kitware.com] Sent: Thursday, May 19, 2011 10:30 AM To: LaViolette, Alan Cc: cmake@cmake.org Subject: Re: [CMake] CMake and VS2010 Are you using CMake 2.8.4? There were several VS 2010 related fixes that went into 2.8.4. On Thu

Re: [CMake] CMake and VS2010

2011-05-19 Thread LaViolette, Alan
a build of CMake and see what is going on. BTW. The Visual Studio 2005 build of the same cmake project works fine. From: David Cole [mailto:david.c...@kitware.com] Sent: Thursday, May 19, 2011 3:50 PM To: LaViolette, Alan Cc: cmake@cmake.org Subject: Re: [CMake] CMake and VS2010

Re: [CMake] CMake and VS2010

2011-05-20 Thread LaViolette, Alan
is good. I guess VS2005 did not care about the GUID case (as it shouldn't) Thanks. From: David Cole [mailto:david.c...@kitware.com] Sent: Thursday, May 19, 2011 3:50 PM To: LaViolette, Alan Cc: cmake@cmake.org Subject: Re: [CMake] CMake and VS2010 So, if you just open the solution

[CMake] configure_file and Source Control

2008-10-08 Thread LaViolette, Alan
Hi, I am using configure_file to produce some build varient files. I need to have these output files in source control so other developers can access the results without needeing to build this library. To do this I need to checkout the output file before it is writen. Does anyone have a

[CMake] How To change VS2005 Output directory

2009-02-02 Thread LaViolette, Alan
The VS2005 generator looks to always append the configuration name into the output directory. I have a project that I don't want this to happen. For example my output path need to look like this /Build/Debug/Plugin or /Build/Release/Plugin I would like to use the

Re: [CMake] How To change VS2005 Output directory

2009-02-02 Thread LaViolette, Alan
does not call this from what I can tell -Original Message- From: Tyler Roscoe [mailto:ty...@cryptio.net] Sent: Monday, February 02, 2009 3:39 PM To: LaViolette, Alan Cc: cmake@cmake.org Subject: Re: [CMake] How To change VS2005 Output directory On Mon, Feb 02, 2009 at 02:12:53PM -0500

Re: [CMake] How To change VS2005 Output directory

2009-02-02 Thread LaViolette, Alan
) is expanded by the IDE to the configuration like Debug or Release. Thanks Alan. -Original Message- From: Tyler [mailto:ty...@cryptio.net] Sent: Monday, February 02, 2009 6:39 PM To: LaViolette, Alan Cc: cmake@cmake.org Subject: Re: [CMake] How To change VS2005 Output directory On Mon, Feb

Re: [CMake] How To change VS2005 Output directory

2009-02-03 Thread LaViolette, Alan
To: LaViolette, Alan Cc: Tyler; cmake@cmake.org Subject: Re: [CMake] How To change VS2005 Output directory On Mon, Feb 2, 2009 at 7:13 PM, LaViolette, Alan alaviole...@overwatch.textron.com wrote: I changed the CMAKE_CFG_INTDIR and I don't see any changes in the project file. I am setting set

[CMake] Intermediate manifest files.

2009-02-03 Thread LaViolette, Alan
I am now setting up the NMake generator. I have everything working correctly except for an issue with the manifests. I have my build environment setup to build out of source and all intermediate file go to the CMake directory. This works for all files but the manifest, I get a

[CMake] Post-Generate commands

2010-05-25 Thread LaViolette, Alan
Is it possible to have cmake run a command after all files are generated? I want to do some additional build environment setup. -- Alan LaViolette Software Engineering Consultant Overwatch(r) An Operating Unit of Textron Systems 21660 Ridgetop Circle, Suite 110 Sterling, VA 20166

Re: [CMake] Post-Generate commands

2010-05-26 Thread LaViolette, Alan
that will process the solution and projects to generate a new solution. I know this is not a great solution but it currently works. Alan From: David Cole [mailto:david.c...@kitware.com] Sent: Wednesday, May 26, 2010 1:18 PM To: LaViolette, Alan Cc: a.neundorf-w...@gmx.net; cmake

[CMake] Using a variable as a method name

2012-06-01 Thread LaViolette, Alan
Hello I would like to call a method based on a variable name such as set( FOO 123) BAR_${FOO}(arg1 arg2) would do the same as BAR_123(arg1 arg2) Does any way exist to do this in CMake, such as a call() or eval() command? -- Alan LaViolette Software Engineering Consultant OVERWATCH An

[CMake] CMAKE_SUPPRESS_REGENERATION in VS2010

2012-06-01 Thread LaViolette, Alan
I am porting our product over to use cmake vs2010 and am experiencing issues with the automatic regeneration (2010 does not seem to like its projects changing while open), so I would like to just turn it off. I have put the CMAKE_SUPPRESS_REGENERATION variable in and still get the ZERO_CHECK

Re: [CMake] Using a variable as a method name

2012-06-01 Thread LaViolette, Alan
Thanks that works great. I just wrote an eval macro that does that From: David Cole [mailto:david.c...@kitware.com] Sent: Friday, June 01, 2012 11:22 AM To: LaViolette, Alan Cc: cmake@cmake.org Subject: Re: [CMake] Using a variable as a method name Not directly, but as a workaround, you could

Re: [CMake] CMAKE_SUPPRESS_REGENERATION in VS2010

2012-06-04 Thread LaViolette, Alan
I have 2.8.8. and I see the same line in my CMakeCache.txt. -Original Message- From: Ben Medina [mailto:ben.med...@gmail.com] Sent: Monday, June 04, 2012 12:47 PM To: LaViolette, Alan Cc: cmake@cmake.org Subject: Re: [CMake] CMAKE_SUPPRESS_REGENERATION in VS2010 This works for me

[CMake] add_custom_command with per configuration options

2012-06-26 Thread LaViolette, Alan
I need to add a custom command that varies based on configuration (with VS2010 generator). As far as I can see no direct way exists to do this. I have tried to use the $.. syntax but it keeps quoting the expression add_library (foo SHARED IMPORTED GLOBAL) set_target_properties(foo PROPERTIES