From: Vladislav Vaintroub Date: January 25 2012 8:13pm Subject: RE: bzr push into mysql-trunk branch (tor.didriksen:3732 to 3733) List-Archive: http://lists.mysql.com/commits/142563 Message-Id: <009701ccdb9d$d71d1ea0$85575be0$@montyprogram.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > -----Original Message----- > From: Tor Didriksen [mailto:tor.didriksen@stripped] > Sent: Mittwoch, 25. Januar 2012 17:05 > To: Vladislav Vaintroub > Cc: commits@stripped > Subject: Re: bzr push into mysql-trunk branch (tor.didriksen:3732 to 3733) > > 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() > > > It must be cached in order to keep the name when you hit the 'rebuild' > button? If one sets variable via command line with e.g cmake -DMYSQL_PROJECT_NAME=Postgres9.0 , then the value is cached already, that is it is stored in CMakeCache.txt anyway.. Thus no real reason for caching it explicitly again. > > Wlad > -- didrik > > > -- > MySQL Code Commits Mailing List > For list archives: http://lists.mysql.com/commits > To unsubscribe: http://lists.mysql.com/commits