简体   繁体   中英

Installing a library built with cmake on mac os x

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

Any clue ?

Your Xcode project should have an install target. Alternatively, according to this you can do:

sudo xcodebuild -target INSTALL

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM