[CMake] getting the .dll import library LOCATION

Brandon J. Van Every bvanevery at gmail.com
Fri Mar 2 15:29:37 EST 2007


When rewriting a FAQ entry I came upon a conundrum.
http://www.cmake.org/Wiki/CMake_FAQ#How_do_I_rename_a_library_after_it_has_already_been_built.3F

"On Windows you may also want to copy the .dll import lib, using the 
same approach as above, but with IMPORT_PREFIX and IMPORT_SUFFIX. 
Problem: LOCATION only refers to 1 file, the .dll. What is a simple way 
to get the location of the import lib? Could provide a complicated way, 
but that's annoying."


Cheers,
Brandon Van Every




More information about the CMake mailing list