thelfer / tfel

Main repository of TFEL/MFront project
https://thelfer.github.io/tfel/web/index.html
Other
87 stars 40 forks source link

add aliases from libraries #627

Closed thelfer closed 5 days ago

thelfer commented 2 weeks ago
add_library(eve::eve ALIAS eve_lib)

For versioning:

include(CMakePackageConfigHelpers)

write_basic_package_version_file( "${CMAKE_CURRENT_BINARY_DIR}/eve-config-version.cmake"
                                  VERSION "${EVE_VERSION}"
                                  COMPATIBILITY ExactVersion
                                  ARCH_INDEPENDENT
                                )

See https://gist.github.com/jfalcou/4a71de2284aa25dea9d7548af1f9e33c