Skip to content

Adding a cmake option to exclude the jsoncpp files from install.#1596

Merged
baylesj merged 7 commits intoopen-source-parsers:masterfrom
nv-jdeligiannis:master
Mar 10, 2026
Merged

Adding a cmake option to exclude the jsoncpp files from install.#1596
baylesj merged 7 commits intoopen-source-parsers:masterfrom
nv-jdeligiannis:master

Conversation

@nv-jdeligiannis
Copy link
Contributor

Useful when managing submodules

@nv-jdeligiannis
Copy link
Contributor Author

Please let me know if I need to make anything else to get this reviewed. Thanks!

Copy link
Contributor

@baylesj baylesj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have a minor tweak, otherwise looks good!

option(JSONCPP_WITH_PKGCONFIG_SUPPORT "Generate and install .pc files" ON)
option(JSONCPP_WITH_CMAKE_PACKAGE "Generate and install cmake package files" ON)
option(JSONCPP_WITH_EXAMPLE "Compile JsonCpp example" OFF)
option(JSONCPP_WITH_INSTALL "Include JsonCpp header and binaries in the install target" ON)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: name could use a tweak, I think. Maybe JSONCPP_WITH_INSTALL_TARGET or JSONCPP_ENABLE_INSTALL

@baylesj baylesj merged commit dbd0850 into open-source-parsers:master Mar 10, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants