[CMake] external project CONFIGURE_COMMAND adds quotation to arguments

2019-09-04 Thread Edoardo Pasca
Dear all, I'm using ExternalProjectAdd to build an external package. On the CONFIGURE_COMMAND I have to pass some variables to the configure script in this form: configure CPPFLAGS="-I/dir/include -L/dir/lib" To do this I use CONFIGURE_COMMAND ${CMAKE_COMMAND} -E env ${CMAKE_BINARY_DIR}/config

Re: [CMake] external project CONFIGURE_COMMAND adds quotation to arguments

2019-09-04 Thread Eric Doenges
On 04.09.2019 11:55, Edoardo Pasca wrote: Dear all,  I'm using ExternalProjectAdd to build an external package.  On the CONFIGURE_COMMAND I have to pass some variables to the configure script in thi

Re: [CMake] Finding custom qmake path

2019-09-04 Thread Igor Ivanov
I might be wrong, but I think you can simply use target names, like `add_custom_command(COMMAND Qt5::qmake --arg file1 file2)`. On 03.09.2019 16:36, Stéphane Ancelot wrote: I solved it using |get_target_property (QT_QMAKE_EXECUTABLE Qt5::qmake IMPORTED_LOCATION)| Le 03/09/2019 à 15:05, Stéph

Re: [CMake] external project CONFIGURE_COMMAND adds quotation to arguments

2019-09-04 Thread Edoardo Pasca
Brilliant! your suggestion has worked! Thank you so much Edo On Wed, Sep 4, 2019 at 11:23 AM Eric Doenges wrote: > On 04.09.2019 11:55, Edoardo Pasca wrote: > > Dear all, > > I'm using ExternalProjectAdd to build an external package. > > On the CONFIGURE_COMMAND I have to pass some variables

[CMake] [ANNOUNCE] CMake 3.15.3 available for download

2019-09-04 Thread Robert Maynard via CMake
We are pleased to announce that CMake 3.15.3 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! - Changes in 3.15.3 since 3.15.2: Brad

[CMake] The connection to cmake-server was terminated unexpectedly [cms-client] cmake-server exited with status null (SIGSEGV)

2019-09-04 Thread Christopher Dawes
Hi there, we are experiencing a crash when working with VSCode on Ubuntu: Brief Issue Summary When starting up VSCode using the CMake extension i get this error on all my projects, the application terminates pretty quickly. What’s happening is cmake server is spawned and then crashes; i’m afrai

Re: [CMake] The connection to cmake-server was terminated unexpectedly [cms-client] cmake-server exited with status null (SIGSEGV)

2019-09-04 Thread fdk17
https://github.com/microsoft/vscode-cmake-tools/issues/752 states that it ran out of stack and the log shows what looks like to be involved with a recursive loop in some CMakeLists.txt. A call depth of 27491 seems a bit excessive. After the second call to FindPackage it just seems to be doing th

Re: [CMake] The connection to cmake-server was terminated unexpectedly [cms-client] cmake-server exited with status null (SIGSEGV)

2019-09-04 Thread Kyle Edwards via CMake
On Wed, 2019-09-04 at 14:12 -0400, fdk17 wrote: > https://github.com/microsoft/vscode-cmake-tools/issues/752 states > that it ran out of stack and the log shows what looks like to be > involved with a recursive loop in some CMakeLists.txt.  A call depth > of 27491 seems a bit excessive. > > After

Re: [CMake] The connection to cmake-server was terminated unexpectedly [cms-client] cmake-server exited with status null (SIGSEGV)

2019-09-04 Thread Craig Scott
On Thu, Sep 5, 2019 at 7:56 AM Christopher Dawes < christopher.da...@eftlab.com> wrote: > Awesome thank you so much! So i’ve upgraded to 3.15.3 and it’s told me > perfectly my issue. So I have an override script (FindLibXml2.cmake): > > *** START CODE **

Re: [CMake] The connection to cmake-server was terminated unexpectedly [cms-client] cmake-server exited with status null (SIGSEGV)

2019-09-04 Thread Christopher Dawes
Awesome thank you so much! So i’ve upgraded to 3.15.3 and it’s told me perfectly my issue. So I have an override script (FindLibXml2.cmake): *** START CODE *** # FindLibXml2.cmake # # A wrapper around CMake's FindLibXml2 which provides an imported t