Re: [CMake] Beginning to compiling CMake file

2018-08-01 Thread Volker Enderlein
Am 31.07.2018 um 06:17 schrieb CrestChristopher: Hi, I'm a beginner to CMake and for weeks I've been trying to compile a CMake file which I found on a github repository.  All I can say is I have a CMakeLists.txt file but I don't know how to compile and I hope someone can help ? Christopher Y

Re: [CMake] Beginning to compiling CMake file

2018-08-01 Thread Michael Ellery
So it sounds like you are on windows. First, be sure that the project that you are building claims support for windows. Windows is still the “odd man out” platform in many cases, so you don’t want to chase your tail with a project that never claimed windows support in the first place. That said,

Re: [CMake] ctest to output files

2018-08-01 Thread Andrew Bell
We do this in a single test, where the test calls some function like "compare_results". On Wed, Aug 1, 2018 at 12:32 AM, Quang Ha wrote: > Hi all, > > Is there a way to let ctest create an output file after a certain test? > Say I want to run test 1 (name "run_simulation"), which is a simulation

Re: [CMake] ctest to output files

2018-08-01 Thread Robert Maynard
I would look at use the FIXTURES features to define the file as a shared resource. Here is a good article on how to use this feature: https://crascit.com/2016/10/18/test-fixtures-with-cmake-ctest/ On Wed, Aug 1, 2018 at 12:32 AM Quang Ha wrote: > > Hi all, > > Is there a way to let ctest create a