It's better to use ExternalProject.cmake to configure part of your solution
with different compiler.
On Wed, Sep 5, 2012 at 12:09 PM, Nicholas Yue wrote:
> Hi,
>
> I have a need to build different parts of a project using different
> version of g++
>
> If I set the top level CMakeLists.tx
Hi,
I have a need to build different parts of a project using different
version of g++
If I set the top level CMakeLists.txt compiler
via -DCMAKE_CXX_COMPILER=/usr/local/bin/g++
and subsequently use another compiler
SET ( CMAKE_CXX_COMPILER "/usr/bin/g++" )