[CMake] [cmake-developers] Empty ERROR_VARIABLE in execute_process

Brad King brad.king at kitware.com
Mon May 23 10:57:29 EDT 2016


On 05/23/2016 03:25 AM, Roman Wüger wrote:
> The output is:
>  
> 1>  _resVar: -1
> 1>  _outVar:
> 1>  _errVar:
>  
> It seems that the error pipe isn’t read correctly, because _errVar is empty.

I cannot reproduce that.  With an empty test.qml file I get:

 _resVar: -1
 _outVar:
 _errVar: test.qml:1 : Expected token `numeric literal'

using the same qmllint version:

  >c:\Qt\5.6.0\5.6\msvc2015_64\bin\qmllint.exe --version
  qmllint 1.0

and current CMake 'master'.

-Brad



More information about the CMake mailing list