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

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

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

[Cmake-commits] CMake branch, master, updated. v3.14.3-893-g4aace9b

2019-05-08 Thread Kitware Robot via Cmake-commits
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via 4aace9b015cd95209c191139b091acbe0c047864 (commit) via

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