[cmake-developers] Volunteering to maintain a new module: FindGSL.cmake

Stephen Kelly steveire at gmail.com
Wed Dec 3 19:05:30 EST 2014


Thompson, KT wrote:

> #  GSL_INCLUDE_DIRS   - Location of GSL header files.
> #  GSL_LIBRARIES      - The GSL libraries.

I'm curious: Given that you provide IMPORTED targets, what would a user need 
these variables for? Do you have a particular use-case that needs them?

>     # Windows with dlls, but only Release libraries.
>     # If we have both Debug and Release libraries

You should populate the IMPORTED_CONFIGURATIONS target property to record 
configurations which have a corresponding location. See the files shipped 
with Qt5 or the files generated by CMake itself when exporting targets for 
example.

Is it possible/reasonable to determine if a particular GSL package has a 
dependency? On ATLAS, for example.

Thanks,

Steve.




More information about the cmake-developers mailing list