Skip to content

dplx_target_sources()' non-merged-layout option is incompatible with smart-sources  #17

@BurningEnlightenment

Description

@BurningEnlightenment

Describe the bug
dplx_target_sources() tries to find source files in the include directory if SMART_SOURCE is requested without MERGED_LAYOUT.

Expected behavior
Given the dplx_target_sources() invocation above the headers should be referenced within the include directory while (test) TUs should be referenced within the src directory.

Environment

  • Project Version: v0.2.5

Additional context
The dplx_target_sources function could profit from using target_sources(FILE_SET for installing public header files

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions