Re: [CMake] Execute CMake process not working: source directory confusion

2017-09-28 Thread Michael Powell
On Thu, Sep 28, 2017 at 1:42 PM, Petr Kmoch wrote: > (Added list back to copy) > > On 28 September 2017 at 18:53, Michael Powell wrote: >> >> [...] >> >> >> >> Curious CMake would "see" the ENTIRE argument string as >> >> "path-to-source" though. Not sure quite what's going on with that, >> >> th

Re: [CMake] Execute CMake process not working: source directory confusion

2017-09-28 Thread Petr Kmoch
(Added list back to copy) On 28 September 2017 at 18:53, Michael Powell wrote: > [...] > >> > >> Curious CMake would "see" the ENTIRE argument string as > >> "path-to-source" though. Not sure quite what's going on with that, > >> though. > > > > > > That's because you're constructing CPPNNG_NNG_

Re: [CMake] Execute CMake process not working: source directory confusion

2017-09-28 Thread Alan W. Irwin
On 2017-09-28 12:18-0400 Michael Powell wrote: The outcome wasn't quite what I expected. How do I specify "path to source", where the source CMakeLists.txt is, properly. And the path to the build, where I want the build environment to land? With this scenario, currently things are landing "in t

Re: [CMake] Execute CMake process not working: source directory confusion

2017-09-28 Thread Michael Powell
On Thu, Sep 28, 2017 at 12:53 PM, Michael Powell wrote: > On Thu, Sep 28, 2017 at 12:36 PM, Petr Kmoch wrote: >> Hi Michael. >> >> On 28 September 2017 at 18:18, Michael Powell wrote: >>> >>> On Thu, Sep 28, 2017 at 12:06 PM, Michael Powell >>> wrote: >>> > -- Forwarded message

Re: [CMake] To quote (path) variables or not, and everywhere?

2017-09-28 Thread Mateusz Loskot
On 25 September 2017 at 18:40, Zan Lynx wrote: > On 09/25/2017 10:15 AM, Mateusz Loskot wrote: >> What if (Windows) user runs cmake inside >> >> c:\my awesome projects\one-superb\build >> >> and there is xxx_command(${CMAKE_SOURCE_DIR}) > > Indeed. > > In my opinion, if software cannot handle arbi

Re: [CMake] Execute CMake process not working: source directory confusion

2017-09-28 Thread Petr Kmoch
Hi Michael. On 28 September 2017 at 18:18, Michael Powell wrote: > On Thu, Sep 28, 2017 at 12:06 PM, Michael Powell > wrote: > > -- Forwarded message -- > > From: Michael Powell > > Date: Thu, Sep 28, 2017 at 12:06 PM > > Subject: Execute CMake process not working: source direc

Re: [CMake] Execute CMake process not working: source directory confusion

2017-09-28 Thread Michael Powell
On Thu, Sep 28, 2017 at 12:06 PM, Michael Powell wrote: > -- Forwarded message -- > From: Michael Powell > Date: Thu, Sep 28, 2017 at 12:06 PM > Subject: Execute CMake process not working: source directory confusion > To: cmake@cmake.org > > > Hello, > > This is fairly long, but t

[CMake] Execute CMake process not working: source directory confusion

2017-09-28 Thread Michael Powell
Hello, This is fairly long, but this is intentional. I message the "Invoking" message. Invoking CMake: C:/Dev/CMake/bin/cmake.exe -G "Visual Studio 14 2015 Win64" -D CMAKE_CONFIGURATION_TYPES:STRING="Debug;Release;MinSizeRel;RelWithDebInfo" -D CMAKE_INSTALL_PREFIX:STRING="G:/Source/Spikes/nanom

Re: [CMake] External Projects: just what are they?

2017-09-28 Thread Michael Powell
On Wed, Sep 27, 2017 at 11:17 PM, Michael Powell wrote: > Hello, > > I am trying to understand external projects. What are they? What kind > of support is there for them? Based on a couple of the blogs I read about it, I'm not sure this is trying to do too much, but I could be wrong. In my scena

Re: [CMake] Support for SWIG and Node.js

2017-09-28 Thread Yegor Yefremov
On 27.09.2017 17:18, Michael Ellery wrote: >> On Sep 26, 2017, at 10:39 PM, Yegor Yefremov >> wrote: >> >> I've seen, that CMake has updated UseSWIG in version 3.8.x. But it doesn't >> seem to support the following use case: >> >> swig -c++ -javascript -node interface.i src.c >> >> I.e. I can de

Re: [CMake] Compiler output for check_cxx_source_compiles

2017-09-28 Thread rleigh
On 2017-09-28 03:27, Saad Khattak wrote: Hello, Is it possible to get the compiler output for check_cxx_source_compiles so that I can check why it failed? It should have been recorded in CMakeFiles/CMakeError.log. Regards, Roger -- Powered by www.kitware.com Please keep messages on-topic an