c++ - How to export libraries with components in CMAKE? -


i have tried finding information on official cmake wiki searching (currently waiting boost download can wade through source looking how it). hoping here may able how done, or point me in right direction answers!

i have project has several components. right now, project has subdirectories libraries, , applications. attempting refactor project , have applications in individual repositories , have libraries exported.

how other projects make possible use following command (specifically, specifying components):

find_package (boost required components system date_time filesystem)

i use same system own project:

find_package (project required components view gui execution analysis)

any provide appreciated.

a guide how write finders may found in /usr/share/cmake/modules/readme.txt (or in cmake sources, if distro not include file). particularly explains how write correct module w/ supporting "standard" syntax (require, components & etc) using find_package_handle_standard_args


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -