[CMake] Help building static libs w/cmake 2.8 and llvm/clang on Windows
Alexander Neundorf
a.neundorf-work at gmx.net
Wed Jan 19 13:42:51 EST 2011
On Tuesday 04 January 2011, Michael Maul wrote:
> Build is eclipse-cdt/nmake on windows 7
>
> "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E
> cmake_link_script CMakeFiles\MathFunctions.dir\link.txt --verbose=yes
>
> CMAKE_AR-NOTFOUND cr MathFunctions.lib
> CMakeFiles/MathFunctions.dir/mysqrt.c.ob
>
> Error running link command: The system cannot find the file specified
>
> I specified CMAKE_AR as llvm-ar in the cache. I looked at some earlier
> posts related to similar problems w/cmake 2.6 and dashes link executables
> and tried renaming llvm-ar to llvm_ar but still am having the same issue.
What is the exact cmake version ? I think I fixed something with regard to
llvm not too long ago...
Alex
More information about the CMake
mailing list