[cmake-developers] Is the "cmake_policy (VERSION 3.11)" statement in the latest UseSWIG.cmake correct?

2018-04-04 Thread Alan W. Irwin
According to , an important side effect of "cmake_policy (VERSION 3.11)" is that no user with cmake version less than 3.11.0 can use the latest version of UseSWIG.cmake. Was that change intended (i.e., does the latest version of

Re: [cmake-developers] execute_process on windows uses CreateProcess

2018-04-04 Thread Brad King
On 04/04/2018 03:30 AM, Mathieu Westphal wrote: > Is there a way, using cmake, to start a gui command on windows > and have the gui shows up ? ``` execute_process(COMMAND cmd /c notepad) ``` > If not, is this intended? Yes. Otherwise console windows appear for everything. CreateProcessW is

[cmake-developers] execute_process on windows uses CreateProcess

2018-04-04 Thread Mathieu Westphal
Hello CMake developpers. We are using execute_process in some of our tests for a Qt based application (ParaView) However, on windows, the GUI does not show up and that caused some problems for rendering. We have investigated the problem, and it looks like execute_process on windows is based on