Installing a library built with cmake on mac os x

I downloaded yaml-cpp sources, generated its xcode project, built it, but how to install the library and its headers, I just want to compile a small console program using g ++, I don’t know if the xcode project also set the headers.

Any clue?

+3
source share
1 answer

Your Xcode project should have an installation goal. Alternatively, according to this , you can:

sudo xcodebuild -target INSTALL
+1
source

All Articles