[CMake] pipe add_test() output into a file

2014-08-26 Thread Nico Schlömer
Hi all, I would like to add a test for a file converter. The output of the converter is written out to stdout, and I would like to direct this into a file to compare it against a reference file. The signature of add_test() [1] however doesn't seem to allow that. How would you go about this

Re: [CMake] pipe add_test() output into a file

2014-08-26 Thread Nils Gladitz
On 08/26/2014 11:50 AM, Nico Schlömer wrote: I would like to add a test for a file converter. The output of the converter is written out to stdout, and I would like to direct this into a file to compare it against a reference file. The signature of add_test() [1] however doesn't seem to allow

Re: [CMake] organizing export link libraries

2014-08-26 Thread Ruslan Baratov via CMake
On 21-Aug-14 00:50, Nico Schl?mer nico.schloe...@gmail.com wrote: Hi all, a general question: I have a dependency chain of libraries A - B - C - ... - Z and all of those libraries are built with CMake, using CMake's export functionality [1] to let the next in the chain know about its the

[CMake] Windows Embedded Compact 2013 support

2014-08-26 Thread Pascal Bach
Hi. I would like to compile some software for Windows Embedded Compact 2013 (WEC2013). But I was unable to find any documentation about WEC2013 support. Does somebody already use CMake to build for Windows Embedded Compact 2013? Is it supported at all? If not where would I need to start to add

Re: [CMake] pipe add_test() output into a file

2014-08-26 Thread Nico Schlömer
Thanks Nils! That does the trick. --Nico On Tue, Aug 26, 2014 at 12:03 PM, Nils Gladitz nilsglad...@gmail.com wrote: On 08/26/2014 11:50 AM, Nico Schlömer wrote: I would like to add a test for a file converter. The output of the converter is written out to stdout, and I would like to direct

Re: [CMake] Setting additional Plist values for OS X Bundle

2014-08-26 Thread Michael Jackson
Was hoping not to have to bring in a custom plist, but thanks for the heads up. Mike Jackson On Aug 25, 2014, at 1:48 PM, Clinton Stimpson clin...@elemtech.com wrote: On Monday, August 25, 2014 01:10:27 PM Michael Jackson wrote: Are there are newer facilities in CMake 3.x that would allow me

[CMake] Color Output with Ninja?

2014-08-26 Thread digitalriptide
Is there a way to enable color compiler messages with the ninja generator? With make and clang, for example, the makefile generator is able to produce color output. Thank you for your assistance. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

[CMake] Trouble with library Dependencies not being reflected in the generated project files

2014-08-26 Thread Austin Hicks
Hello, I'm having some interesting problems with dependencies, and I'm trying to determine if this is my fault or CMake's. For the record, I'm on cmake 3.0.1, Windows 7, and Visual Studio 2013. I've got a project consisting of a vendored copy of Portaudio, a shared library, and

[CMake] Switching between i386, i586 and i686

2014-08-26 Thread Amul Shah
My host machine is RedHat 6 i686. I was wondering how I could direct CMake to set -march to either i386 or i586 without manually setting -march=. I tried changing CMAKE_SYSTEM_PROCESSOR, but that did not work. thanks, Amul _ The information contained in this message is proprietary

Re: [CMake] Switching between i386, i586 and i686

2014-08-26 Thread Chuck Atkins
Hi Amul, The -march flag doesn't automatically get set by CMake since it tends to be highly system specific; you'll need to explicitly add it to your CMAKE_{C,CXX,Fortran}_FLAGS variables if you want it used. The CMAKE_SYSTEM_PROCESSOR variable is usually used only for packaging to determine

[CMake] Controlling output of ctest

2014-08-26 Thread Ashok Nalkund
Hi, I use cmake/ctest to build and run my tests. I'm using ctest -T Test -V --output-on-failure --no-compress-output -R I noticed that some of the tests have truncated output in the Test.xml report. Also I see the truncation length is different in different scenarios. From what I see,

Re: [CMake] Controlling output of ctest

2014-08-26 Thread Ashok Nalkund
I think I've found the solution at http://www.vtk.org/Wiki/CMake_Testing_With_CTest. I'm going to try setting CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE and CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE and report back. Thanks, Ashok On 8/26/2014 6:24 PM, Ashok Nalkund wrote: Hi, I use

[CMake] Global dependency

2014-08-26 Thread Jonas Lippuner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I have a custom target called BuildInfoDateTime that generates a *.cpp file containing the date and time of the build. I specified the target with ALL, so it gets run if I simply type make. However, I would also like all other targets

[cmake-developers] find_package() verbosity

2014-08-26 Thread Nils Gladitz
Are there any official recommendations or opinions on how verbose a find module (or package configuration file) should be on success? - Find modules using FindPackageHandleStandardArgs report success once. - FindBoost.cmake reports success every time. - Qt5 package configuration files (and

[cmake-developers] [CMake 0015110]: cmake doesn't handle spaces in xcode paths correctly

2014-08-26 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15110 == Reported By:tim blechmann Assigned To:

[cmake-developers] [CMake 0015111]: “File reference” warnings when building a CMake project with Xcode 6

2014-08-26 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=15111 == Reported By:normanius Assigned To:

Re: [cmake-developers] find_package() verbosity

2014-08-26 Thread Alexander Neundorf
On Tuesday, August 26, 2014 10:41:04 Nils Gladitz wrote: Are there any official recommendations or opinions on how verbose a find module (or package configuration file) should be on success? - Find modules using FindPackageHandleStandardArgs report success once. - FindBoost.cmake reports

[cmake-developers] [CMake 0015112]: Incorrect commands generated on bustom build step for Visual Studio

2014-08-26 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15112 == Reported By:Javier Martinez Assigned To:

[Cmake-commits] CMake branch, master, updated. v3.0.1-1759-g7c69436

2014-08-26 Thread Kitware Robot
20140826) +set(CMake_VERSION_PATCH 20140827) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- CMake