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

Popular posts from this blog

iis - ASP.Net Core CreatedAtAction in HttpPost action returns 201 but entire request ends with 500 -

gcc - Neither ld wrap nor LD_PRELOAD working to intercept system call -

ssh - Vagrant Windows - ssh_exchange_identification: read: Connection reset by peer -