Re: [CMake] CTest + Catch Framework

2015-01-28 Thread Nils Gladitz
On 28.01.2015 01:38, Robert Dailey wrote: I suspect that per David's suggestion, CTest would essentially do what you're doing but in a more thorough manner (based on the test framework used). So essentially CTest will need: - A new command line parameter that specifies the test framework - Funct

Re: [CMake] CTest + Catch Framework

2015-01-28 Thread David Cole via CMake
I have two more suggestions for whoever takes on this work. One: add a new CMake command add_unit_test_container (or add_unit_tester or a better name ... ?) which names the DLL or executable file containing the unit tests. Give it properties to indicate how to extract a list of tests from it (perh

Re: [CMake] CTest + Catch Framework

2015-01-28 Thread Robert Dailey
@David I agree with your point about unit test initialization. Perhaps instead of running a test multiple times, we can inspect the output of a test that is run 1 time and assuming it spits out success/failure details for individual test cases, we can simply parse that output into appropriate CTex

[CMake] Unable to install cmake

2015-01-28 Thread Gunjan Gautam
Hi All, I am trying to install Cmake (v2.8.x) in my system which is 64bit Ubuntu but unable to get it. Probably I'm not getting the steps properly. I'll be thankful if anyone can help to resolve this problem. Gunjan -- Powered by www.kitware.com Please keep messages on-topic and check the CMak

Re: [CMake] CTest + Catch Framework

2015-01-28 Thread David Cole via CMake
I'm sure it's possible, as long as CDash can handle the flood of test results. CTest is responsible for taking add_test (or whatever the new CMake command will be called) calls and transforming them into Test.xml files for sending to CDash. As long as you can read the output of running the unit te

[CMake] CMake Eclipse & Resource Filters

2015-01-28 Thread Robert Dailey
Hello, I generate my project using Eclipse CDT4 - Ninja. I have a subdirectory called "Third Party" under my source directory that contains boost, QT, and a number of other very large libraries. I notice that the C++ indexer in Eclipse processes files in these directories and frequently locks up m

[CMake] target_link_libraries replacing fully-qualified library with -l

2015-01-28 Thread Chris Green
Hi, I've been trying to run down a problem with our cmake-based build system that appears to be a result of a target_link_libraries(...) invocation taking a fully qualified shared library location and replacing it with -l. Since we're trying very hard to avoid picking up unwanted, older copie

Re: [CMake] target_link_libraries replacing fully-qualified library with -l

2015-01-28 Thread Alexander Neundorf
On Wednesday, January 28, 2015 14:12:03 Chris Green wrote: > Hi, > > I've been trying to run down a problem with our cmake-based build system > that appears to be a result of a target_link_libraries(...) invocation > taking a fully qualified shared library location and replacing it with > -l. Sinc

Re: [CMake] CMake Eclipse & Resource Filters

2015-01-28 Thread Alexander Neundorf
On Wednesday, January 28, 2015 12:56:24 Robert Dailey wrote: > Hello, > > I generate my project using Eclipse CDT4 - Ninja. I have a > subdirectory called "Third Party" under my source directory that > contains boost, QT, and a number of other very large libraries. I > notice that the C++ indexer