Hi,
How to specify different compilers for different source files in
CMakeLists.txt, e.g. if
test1.cxx must be compiled with g++
test2.cxx must be compiled with mpicxx (mpi compiler)
I tried
add_executable(test1.exe test1.cxx)
set_source_files_properties(test2.cxx PROPERTIES
On 03/30/2011 01:42 PM, Marc Tajchman wrote:
Hi,
How to specify different compilers for different source files in
CMakeLists.txt, e.g. if
test1.cxx must be compiled with g++
test2.cxx must be compiled with mpicxx (mpi compiler)
I tried
add_executable(test1.exe test1.cxx)
, BLAS, MPI, FLEXlm
yourself...
Regards,
Arjen
-Original Message-
From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf
Of Michael Wild
Sent: woensdag 30 maart 2011 14:11
To: cmake@cmake.org
Subject: Re: [CMake] Specify an alternate C++ compiler for some source
files