cmake_template
cmake_template copied to clipboard
How to install shared library
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?
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?