yaml-cpp icon indicating copy to clipboard operation
yaml-cpp copied to clipboard

Using yaml-cpp as dependency within a project using CMake

Open Trompettesib opened this issue 3 years ago • 3 comments

How am I suppsed to do to integrate yaml-cpp library into my project without having to include all the sources into a directory ? My objective is that when I build the project, if the yaml-cpp library isn't downloaded yet, CMake will download it and build it.

Trompettesib avatar Sep 27 '22 23:09 Trompettesib

I think the answer for this question is this comment https://github.com/jbeder/yaml-cpp/issues/774#issuecomment-737155168 maybe it would be interesting to put it in the documentation

Trompettesib avatar Sep 27 '22 23:09 Trompettesib

I’m open to PRs to update documentation.

On Tue, Sep 27, 2022 at 6:20 PM Alexandre TISSOT @.***> wrote:

I think the answer for this question is this comment #774 (comment) https://github.com/jbeder/yaml-cpp/issues/774#issuecomment-737155168 maybe it would be interesting to put it in the documentation

— Reply to this email directly, view it on GitHub https://github.com/jbeder/yaml-cpp/issues/1136#issuecomment-1260172059, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAICUBU5YFHMOVUP5A4OQ43WAN6LNANCNFSM6AAAAAAQXHQYWQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jbeder avatar Sep 27 '22 23:09 jbeder

I have created a pull request ! #1143

Trompettesib avatar Oct 13 '22 20:10 Trompettesib

PR #1143 was merged. This issue can be closed.

ahogen avatar Jun 29 '24 16:06 ahogen