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

2017-09-27 Thread Michael Powell
Hello, I am trying to understand external projects. What are they? What kind of support is there for them? I found: https://cmake.org/cmake/help/v3.9/module/ExternalProject.html#command:externalproject_add For instance. I have a Git Submodule which I want to support. It represents a core libra

[CMake] Compiler output for check_cxx_source_compiles

2017-09-27 Thread Saad Khattak
Hello, Is it possible to get the compiler output for check_cxx_source_compiles so that I can check why it failed? Thanks, Saad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to suppor

[CMake] CMake GUI "stuck" state

2017-09-27 Thread Michael Powell
Hello, I am trying for the life of me to persuade CMake GUI to process my CMakeLists.txt, but it just does not want to go. It seems to be failing to evaluate obvious things like EXISTS "path/to/submodule/CMakeList.txt", for instance, when I want to test for existence of a Git Submodule with CMake

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

2017-09-27 Thread Michael Ellery
> 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 define "-c++" via set_property(SOURCE interface.i

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

2017-09-27 Thread Bruce Jones
I don't have a solution for you, but I agree that this functionality would be incredibly useful! On Wed, 27 Sep 2017 at 01:39 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 -no