Re: [CMake] Question on usage of cmake on Windows with clang

2016-02-08 Thread Cristian Adam
On Mon, Feb 8, 2016 at 1:56 PM, Victor Leschuk wrote: > Hello, I am trying to use clang with cmake on Windows. > > I have compiled LLVM+clang using Visual Studio 2015. And now I am facing > problems with building cmake projects using this clang. It looks like cmake > is trying to pass wrong optio

[CMake] Question on usage of cmake on Windows with clang

2016-02-08 Thread Victor Leschuk
Hello, I am trying to use clang with cmake on Windows. I have compiled LLVM+clang using Visual Studio 2015. And now I am facing problems with building cmake projects using this clang. It looks like cmake is trying to pass wrong options to linker. Here simple test project: $ cat CMakeLists.tx