woboq / verdigris

Qt without moc: set of macros to use Qt without needing moc
https://woboq.com/blog/verdigris-qt-without-moc.html
GNU Lesser General Public License v3.0
638 stars 58 forks source link

add cmake package #91

Closed dand-oss closed 2 months ago

dand-oss commented 2 years ago

From your cmake project

find_package(verdigris CONFIG REQUIRED)

target_link_libraries(${libname} PUBLIC ... verdigris::verdigris )

Todo

Build result

[0/1] Install the project... -- Install configuration: "Release" -- Up-to-date: INSTALLDIR/share/verdigris/cmake/verdigrisTargets.cmake -- Up-to-date: INSTALLDIR/share/verdigris/cmake/verdigrisConfig.cmake -- Up-to-date: INSTALLDIR/share/verdigris/cmake/verdigrisConfigVersion.cmake -- Installing: INSTALLDIR/include/verdigris/wobjectcpp.h -- Installing: INSTALLDIR/include/verdigris/wobjectdefs.h -- Installing: INSTALLDIR/include/verdigris/wobjectimpl.h

CLAassistant commented 2 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Dan Dees seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

ogoffart commented 2 years ago

I think the problem with the CLA assistant is that the email used in the git commit doesn't match the email registered in the GitHub account.

arBmind commented 1 year ago

Please note: #99 adds full CMake support to Verdigris. That contains install package building and running all test targets.