Re: [CMake] Generator for Visual Studio Code (Ubuntu)

2018-03-18 Thread Andrew Gaspar
Hm, I’m not sure what you mean by built in support, but there is an excellent plugin you should install: https://marketplace.visualstudio.com/items?itemName=vector-of-bool.cmake-tools It gives you easy interface extensions for building, debugging, or testing your project. You shouldn’t need t

[CMake] Generator for Visual Studio Code (Ubuntu)

2018-03-18 Thread Richard Frank
Hi I’m trying out Visual Studio Code on Ubuntu 16.04. There’s support for CMake built in but if I use CMake externally was generator should I use? Thanks Rick Frank -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

[CMake] CTest extra tests

2018-03-18 Thread Adam Getchell
Hello all, I’m running into unexpected behavior when using CTest. First, I define the list of tests that I want to run in my CMakeLists.txt: https://github.com/acgetchell/CDT-plusplus/blob/develop/CMakeLists.txt#L151

Re: [CMake] Generator Expressions and FetchContent

2018-03-18 Thread Saad Khattak
Thank you for the clarification Craig. >> If you made your main target link against LibA, you'd see that CMake automatically expands out the generator expressions when it constructs the link command line for main, so the example as it stands doesn't actually have any error. In my actual project,

Re: [CMake] Generator Expressions and FetchContent

2018-03-18 Thread Craig Scott
On Mon, Mar 19, 2018 at 3:44 AM, Saad Khattak wrote: > Absolutely. Please find the example project here: https://github.com/ > samaursa/cmake_fetch_content_and_generator_expressions > > The repository README also includes the output from running `./setup.sh`. > Okay that's much clearer, thanks.

Re: [CMake] Generator Expressions and FetchContent

2018-03-18 Thread Saad Khattak
Absolutely. Please find the example project here: https://github.com/samaursa/cmake_fetch_content_and_generator_expressions The repository README also includes the output from running `./setup.sh`. On Sat, Mar 17, 2018 at 6:47 PM Craig Scott wrote: > Can you provide a small project example that

Re: [CMake] Install sub project from Visual Studio

2018-03-18 Thread Dvir Yitzchaki
You can add a custom target which runs cmake -P /cmake_install.cmake Regards, Dvir From: CMake On Behalf Of Scott Bloom Sent: Friday, March 16, 2018 21:59 To: cmake@cmake.org Subject: [Digital Signature Failure] [CMake] Install sub project from Visual Studio I know from the command line on a m