windows - How to get path to provided visual studio "lib.exe" executable in CMake? -
how path provided visual studio "lib" executable (that can found in c:\program files (x86)\microsoft visual studio 11.0\vc\bin\
) cmake?
the full path lib.exe
not directly available. derive cmake_linker
:
get_filename_component(_vs_bin_path "${cmake_linker}" directory)
or via script cmake in windows-gnu.cmake
.
Comments
Post a Comment