Re: [CMake] Intel Compilers and libc++?

2015-04-04 Thread Ben Pope
On Sunday, April 05, 2015 08:30 AM, digitalriptide wrote: I have an Ubuntu installation with both libstdc++ and libc++ installed, and I am using Intel's C++ compiler. By default, CMake is picking up and linking against libstdc++. Is there a way to ask CMake to prefer libc++ over libstdc++, when a

[CMake] Intel Compilers and libc++?

2015-04-04 Thread digitalriptide
I have an Ubuntu installation with both libstdc++ and libc++ installed, and I am using Intel's C++ compiler. By default, CMake is picking up and linking against libstdc++. Is there a way to ask CMake to prefer libc++ over libstdc++, when available? Thank you kindly for your advice. -- Powered by

Re: [CMake] Intel compilers with Visual Studio Project on Windows

2013-03-01 Thread Nicholas Kinar
On 01/03/2013 4:44 AM, Hendrik Sattler wrote: Am 2013-03-01 02:32, schrieb Nicholas Kinar: Hello, I am wondering if there is a way to have Cmake use Intel compilers on Windows when generating a Visual Studio project file. Searching around the Internet, I found that the following might be used

Re: [CMake] Intel compilers with Visual Studio Project on Windows

2013-03-01 Thread Hendrik Sattler
Am 2013-03-01 02:32, schrieb Nicholas Kinar: Hello, I am wondering if there is a way to have Cmake use Intel compilers on Windows when generating a Visual Studio project file. Searching around the Internet, I found that the following might be used to do this within the CMakeLists.txt file: set

[CMake] Intel compilers with Visual Studio Project on Windows

2013-02-28 Thread Nicholas Kinar
Hello, I am wondering if there is a way to have Cmake use Intel compilers on Windows when generating a Visual Studio project file. Searching around the Internet, I found that the following might be used to do this within the CMakeLists.txt file: set_target_properties(inv_spline_interp PROPE

Re: [CMake] Intel compilers

2012-05-11 Thread Leif Walsh
On 11 May, 2012, at 5:12 PM, Mohammad Mirzadeh wrote: > > 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) > >

Re: [CMake] Intel compilers

2012-05-11 Thread Mohammad Mirzadeh
> 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

Re: [CMake] Intel compilers

2012-05-11 Thread Rolf Eike Beer
> 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; ccmak

Re: [CMake] Intel compilers

2012-05-10 Thread Leif Walsh
On Thu, 10 May 2012, Mohammad Mirzadeh wrote: > 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 > th

Re: [CMake] Intel compilers

2012-05-10 Thread Tim Gallagher
Hi, If you do: CC=icc ccmake ../ it will work. Note this is all one line, without a semi-colon. As for the rest, I'll let somebody else answer. - Original Message - From: "Mohammad Mirzadeh" To: cmake@cmake.org Sent: Thursday, May 10, 2012 8:21:23 PM Subject

[CMake] Intel compilers

2012-05-10 Thread Mohammad Mirzadeh
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