Re: [CMake] c++2a

2019-05-08 Thread Stefan Fendt
Am 07.05.2019 um 20:37 schrieb Angel Campoverde: > Next time please ask what computer I am using. *What*? Really? *Please* give this a second thought... Stefan -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware

Re: [CMake] Support of compile features for Fujitsu C++ Compiler

2019-05-08 Thread Zehner Paul
Thank you for your answer. This means I have to override `/usr/share/cmake/Modules/Compiler/Fujitsu-DetermineCompiler.cmake`? This is not unfeasible, but it may seems tricky to my users. Since detecting compiler version is not a crucial task, maybe I will keep this file as it and concentrate o

Re: [CMake] Support of compile features for Fujitsu C++ Compiler

2019-05-08 Thread Robert Maynard via CMake
I believe the only way is to have your version of Fujitsu-DetermineCompiler.cmake be installed over the one provided by CMake. When it comes to known compilers CMake explicitly includes the version it ships. On Tue, May 7, 2019 at 11:01 PM Zehner Paul wrote: > > Robert, > > Thank you for the advi

Re: [CMake] CMake with two C++ compilers

2019-05-08 Thread Sergei Nikulov
ср, 8 мая 2019 г. в 14:27, JR Cary : > > Is there a standard way to deal with 2 C++ compilers? Getting both > there versions, etc.? > > I need one compiler for compiling ordinary C++ code and a different > one to use as the host compiler for CUDA. > > Thx..John Cary Here is the exact answer t

Re: [CMake] CMake with two C++ compilers

2019-05-08 Thread Hex
set the compiler for each build: set(COMPILER /opt/gcc/bin) cmake_force_c_compiler( "${COMPILER}gcc" GNU) cmake_force_cxx_compiler("${COMPILER}g++" GNU) -- Sent from: http://cmake.3232098.n2.nabble.com/ -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

[CMake] CMake with two C++ compilers

2019-05-08 Thread JR Cary
Is there a standard way to deal with 2 C++ compilers?  Getting both there versions, etc.? I need one compiler for compiling ordinary C++ code and a different one to use as the host compiler for CUDA. Thx..John Cary -- Powered by www.kitware.com Please keep messages on-topic and check the C