Skip to content

Conversation

@ClausKlein
Copy link
Owner

@ClausKlein ClausKlein commented Nov 29, 2022

Add notes how to create and export the component targets

)

add_library(${PROJECT_NAMESPACE}::Addition ALIAS Addition)
add_library(${PROJECT_NAMESPACE}::Addition ALIAS Addition) # NOTE: needed! CK
Copy link
Owner Author

Choose a reason for hiding this comment

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

needed

)

# install the target and create export-set
# NOTE: Need to install the target and create export-set manually! CK
Copy link
Owner Author

Choose a reason for hiding this comment

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

needed

)

add_library(MathFunctions::MathFunctions ALIAS MathFunctions)
add_library(${PROJECT_NAMESPACE}::MathFunctions ALIAS MathFunctions) # NOTE: needed! CK
Copy link
Owner Author

Choose a reason for hiding this comment

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

needed

)

# install the target and create export-set
# NOTE: Need to install the target and create export-set manually! CK
Copy link
Owner Author

Choose a reason for hiding this comment

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

needed

)

add_library(${PROJECT_NAMESPACE}::SquareRoot ALIAS SquareRoot)
add_library(${PROJECT_NAMESPACE}::SquareRoot ALIAS SquareRoot) # NOTE: needed! CK
Copy link
Owner Author

Choose a reason for hiding this comment

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

needed

)

# install the target and create export-set
# NOTE: Need to install the target and create export-set manually! CK
Copy link
Owner Author

Choose a reason for hiding this comment

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

needed

# VERSION CK1.6.0
GIT_TAG 4ac95860ba72bb0eb324c4d63e35fb59be3bd50d
)
CPMAddPackage("gh:TheLartians/PackageProject.cmake@1.10.0")
Copy link
Owner Author

Choose a reason for hiding this comment

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

needed

DISABLE_CHECK_REQUIRED_COMPONENTS YES
COMPATIBILITY SameMajorVersion
# XXX DISABLE_VERSION_SUFFIX NOT YET! CK
DISABLE_CHECK_REQUIRED_COMPONENTS YES
Copy link
Owner Author

Choose a reason for hiding this comment

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

needed too!

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.

1 participant