Skip to content

Builds should not be forced to output files to the source directory #58

@inkychris

Description

@inkychris

The customisation of output directories in the top-level CMakeLists.txt file makes it impossible to control where targets in this project are built. These customisations should be removed/guarded with an option that allows the user to decide whether these should be set or not.

set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)

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