[cmake-developers] Startup Project Configuration [mantis 15578]

Davy Durham ddurham at bomgar.com
Wed Jun 3 16:35:53 EDT 2015


Okay, here's my patch.  It worked on my system.  I tested with the 
versions I have installed: VS 2008 and VS 2013, and it worked great.

Fairly simple.   Updated the docs [sufficiently, I think].  Thanks, 
Brad, for your direction.

Let me know your feedback.

Thanks

On 06/02/2015 11:45 AM, Brad King wrote:
> On 06/01/2015 07:35 PM, Davy Durham wrote:
>> My plan is for it to simply pull a directory property called,
>> "VS_STARTUP_PROJECT".  However, I don't see how to access directory
>> properties from cmGlobalVisualStudioGenerator.  They seem to be
>> available from a cmLocalGenerator but not cmGlobalGenerator.
> The WriteSLNFile method takes a "root" cmLocalGenerator.
> You can call root->GetMakefile()->GetProperty("...") to get
> the property for the solution file rooted at that directory.
> It looks like some of the code paths may already thread the
> "root" down to where you need it.  Otherwise you'll have to
> add it to some method signatures.
>
> Thanks,
> -Brad
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vs_startup_project.patch
Type: text/x-patch
Size: 9064 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150603/57956097/attachment-0001.bin>


More information about the cmake-developers mailing list