Skip to content

Customizable path to .targets within a package #9

@geirhei

Description

@geirhei

# NOTE. The fallback "build/${PACKAGE_ID}.targets" is deliberately not tried.
# One should always place the native .target file under "build/native/".
set(DOT_TARGETS_FILE
"${NUGET_DEPENDENCY_DIR_${PACKAGE_ID}}/build/native/${PACKAGE_ID}.targets" # Default (and non-settable)
)

Unfortunately some projects depend on packages that have their .targets file in a non-standard location, e.g. build/${PACKAGE_ID}.targets. It would be good to be able to specify a custom value for DOT_TARGETS_FILE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions