Re: [CMake] Problem when using variable_watch with Visual Studio generator in 3.4.1

2015-12-10 Thread David Cole via CMake
I've got a Debug build of current 'master' on Windows, and the problem is also evident with my build: C:\dev\dcole\tmp\variable_watch_problem\b1> "C:\dev\repos\My Tests\cmake Win32-ninja-cl12-Debug\bin\ cmake.exe" -G Ninja .. -- The CXX compiler identification is MSVC 18.0.31101.0 -- Check for wo

Re: [CMake] Problem when using variable_watch with Visual Studio generator in 3.4.1

2015-12-10 Thread Yves Frederix
After commenting out the call there is no error output: -- The CXX compiler identification is MSVC 17.0.61030.0 -- Check for working CXX compiler using: Visual Studio 11 2012 Win64 -- Check for working CXX compiler using: Visual Studio 11 2012 Win64 -- works -- Detecting CXX compiler ABI i

Re: [CMake] Problem when using variable_watch with Visual Studio generator in 3.4.1

2015-12-10 Thread David Cole via CMake
Out of curiosity, what output do you get (with 3.4.1) when you comment out your call to variable_watch? Do you still get error output, but without strange symbols in it? Or is there no error output in that case? On Thursday, December 10, 2015, Yves Frederix wrote: > Hi all, > > I am experiencin

[CMake] Problem when using variable_watch with Visual Studio generator in 3.4.1

2015-12-10 Thread Yves Frederix
Hi all, I am experiencing problems during the CMake configure step when using the function variable_watch. Consider the following minimal CMakeLists file: cmake_minimum_required(VERSION 3.4) project(test CXX) function(myhook _variable _access _value _current_list_file _stack) if("${_va