Re: [CMake] Intel Compilers and libc++?

2015-04-04 Thread Ben Pope
On Sunday, April 05, 2015 08:30 AM, digitalriptide wrote: I have an Ubuntu installation with both libstdc++ and libc++ installed, and I am using Intel's C++ compiler. By default, CMake is picking up and linking against libstdc++. Is there a way to ask CMake to prefer libc++ over libstdc++, when a

[CMake] Intel Compilers and libc++?

2015-04-04 Thread digitalriptide
I have an Ubuntu installation with both libstdc++ and libc++ installed, and I am using Intel's C++ compiler. By default, CMake is picking up and linking against libstdc++. Is there a way to ask CMake to prefer libc++ over libstdc++, when available? Thank you kindly for your advice. -- Powered by

[CMake] ExternalProject_Add contributing to top-level Package

2015-04-04 Thread Rob McDonald
All, I have a project that is typically compiled with CLang/LLVM. However, I'm now adding a component that is preferentially built with OpenMP. CLang doesn't support OpenMP, so I'd like to build that component with GCC while still building everything else with CLang. So far, I'm approaching the

[CMake] Return Values , Dynamic Calls and Exceptions in CMake

2015-04-04 Thread Tobias Becker
Hi All, I wanted to share my blog post on Return Values, Dynamic Calls and Exceptions in CMake with you: http://thetoeb.de/2015/04/04/cmakepp-dynamic-calls-return-values-and-exceptions/ cmakepp is pure cmake, open source (MIT License) project which gives you > 1000 extra functions and utilities.

Re: [CMake] how to use the FindMPI module correctly?

2015-04-04 Thread Alexander Droste
Thanks, that really clears things up for me! --Alex On 04.04.15 14:39, Mark Abraham wrote: On 03/04/2015 8:24 pm, "Alexander Droste" < alexander.ra.dro...@googlemail.com> wrote: Hello everyone, based on the documentation here: http://www.cmake.org/cmake/help/v3.0/module/FindMPI.html and pos