[CMake] Help building static libs w/cmake 2.8 and llvm/clang on Windows
Michael Maul
mike.maul at gmail.com
Mon Jan 3 22:23:28 EST 2011
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110103/4dfcab04/attachment.htm>
More information about the CMake
mailing list