> You generally need to set CC, CXX, LD, and AR. I found that in some cases
> even that didn't work. I use this:
> option(INTEL_CC "Use the Intel compiler." OFF)
> if (INTEL_CC)
> find_program(CMAKE_C_COMPILER NAMES icc)
> find_program(CMAKE_CXX_COMPILER NAMES icpc)
> find_program(CMAKE_AR NAME
Hi,
I have just started using CMake for my projects and have some problems
getting it do exactly the things I want. So these are couple of questions I
have:
1) How can I change the compiler from GNU g++ to my preferred compiler, in
this case intel's icc? I have tried CC=icc; ccmake ../ but that a