Skip to content

Request: do not set CMAKE_RUNTIME_OUTPUT_DIRECTORY etc. for submodule builds #1286

Closed
@apanteleev

Description

@apanteleev

When a project includes jsoncpp (or any other project for that matter) as a submodule and a static library into a larger CMake build, the submodule should not override any global and cached settings like CMAKE_RUNTIME_OUTPUT_DIRECTORY.

On a similar note, it's a good tone to start all CMake settings with the project name prefix. Currently, this is mostly followed by jsoncpp, except for BUILD_SHARED_LIBS etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions