[CMake] setting a default build type
Brandon J. Van Every
bvanevery at gmail.com
Thu Sep 7 13:23:01 EDT 2006
Brad King wrote:
> Brandon J. Van Every wrote:
>
>> Brad King wrote:
>>
>>> This would be a nice feature but I don't know how to implement it. Try
>>> generating a project and then manually editing the project files in such
>>> a way that the IDE selects a different configuration by default. Don't
>>> forget to remove the .suo and .ncb files between attempts because they
>>> store the user IDE state.
>>>
>> That approach is not desired. People typically want CMakeList.txt under
>> source control, not its end products, as the latter differ for every
>> person. We don't ship .sln files to people, we tell them to install CMake.
>>
>
> I was not proposing this as a solution, I was asking you to figure out
> how to implement it. I have no idea how to write a .sln or .vcproj file
> that will convince the VS IDE to come up with a non-Debug configuration
> by default. I just tried manually reordering the configurations to put
> Release first and the IDE still selected Debug at startup. Even
> changing the Release configuration to have the name ARelease (which
> comes before Debug lexicographically) didn't fix it.
>
I have no idea either, nor time to investigate it at present. I will
note our lack of knowledge in the feature request. Maybe we'll run into
someone else who knows better.
Cheers,
Brandon Van Every
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20060907/6823a32d/attachment.htm
More information about the CMake
mailing list