[CMake] Problem with CMake 3.3.0-rc3

Brad King brad.king at kitware.com
Thu Jul 9 14:41:28 EDT 2015


On 07/09/2015 01:43 PM, Clifford Yapp wrote:
> OK, more info - it looks like the problem is limited to the CMake GUI
> configure (although I haven't been able to test ccmake, the basic
> cmake works) and the test file is pretty simple:

Thanks.  I've narrowed it down to this session:

-------------------------------------------------------------
$ cat ../CMakeLists.txt
cmake_minimum_required(VERSION 3.2)
project(Sample NONE)
message("message")
function(message)
  _message(${ARGN})
endfunction()

$ cmake-gui  ..
(click configure twice)
-------------------------------------------------------------

It bisects to this commit:

 cmake: Simplify command clean up loop.
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=97e53ebb

Steve, please take a look.  It looks like the cmState methods
RemoveUserDefinedCommands and RenameCommand need to work better
together.  This needs to be fixed for 3.3.

Thanks,
-Brad



More information about the CMake mailing list