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
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
ср, 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
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
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:
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