cmake_template icon indicating copy to clipboard operation
cmake_template copied to clipboard

How to install shared library

Open PanWieczorek opened this issue 2 years ago • 1 comments

Hi!

A simple use case, need to install myproject::sample_library from this example as shared lib of course with all needed include files. How to do this? Is there a magic "install function" like myproject_package_project or should I manually write my own cmake install lines?

PanWieczorek avatar May 31 '23 13:05 PanWieczorek

Hi!

A simple use case, need to install myproject::sample_library from this example as shared lib of course with all needed include files. How to do this? Is there a magic "install function" like myproject_package_project or should I manually write my own cmake install lines?

pls assign this to me and do let me know wether i have to just quote the answer or the code is required also?

Coding-whiz avatar Jun 03 '23 06:06 Coding-whiz