On 2012-01-17 19:38, Vladislav Vaintroub wrote:
> CACHE FORCE is not really a good style (I regret introducing it back when I
> was there)
OK, I'll keep that in mind for future changes.
> I guess you can do what you want to do simpler, with
>
> IF(NOT MYSQL_PROJECT_NAME)
> SET(MYSQL_PROJECT_NAME "MySQL")
> ENDIF()
>
> I think you do not need to cache or document it. It is probably better as
> undocumented one-time setting (if it should be at all) during initial cmake
> run. Changing project name, e.g with cmake-gui after the initial CMake is
> done sounds quite weird to be documented.
> I'm curious why do you need that at all ..
>
Some of my colleagues use GUIs and I guess they like to have different
names for their projects
(for easier navigation between windows)
It must be cached in order to keep the name when you hit the 'rebuild'
button?
> Wlad
-- didrik