Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add export() to CMakeLists.txt enabling importing targets #50

Closed
19 tasks done
martinmoene opened this issue Dec 28, 2020 · 0 comments
Closed
19 tasks done

Add export() to CMakeLists.txt enabling importing targets #50

martinmoene opened this issue Dec 28, 2020 · 0 comments

Comments

@martinmoene
Copy link
Owner

martinmoene commented Dec 28, 2020

Inspired by expected-lite PR 39.

Add the following code to the endof ./CMakeLists.txt:

export(
    EXPORT       ${package_target}
    NAMESPACE    ${package_nspace}::
    FILE         "${CMAKE_CURRENT_BINARY_DIR}/${package_name}-targets.cmake"
)

Plan:

  • any-lite
  • atomic-lite (being developed)
  • bit-lite
  • boolean-lite
  • byte-lite
  • expected-lite
  • invoke-lite (NA)
  • observer-ptr-lite
  • optional-bare
  • optional-fun-lite
  • optional-lite
  • ring-span-lite
  • scope-lite
  • span-lite
  • status-value-lite
  • string-view-lite
  • type-lite
  • value-ptr-lite
  • variant-lite
martinmoene added a commit to martinmoene/observer-ptr-lite that referenced this issue Dec 28, 2020
martinmoene added a commit to martinmoene/ring-span-lite that referenced this issue Dec 28, 2020
martinmoene added a commit to martinmoene/status-value-lite that referenced this issue Dec 28, 2020
martinmoene added a commit to martinmoene/string-view-lite that referenced this issue Dec 28, 2020
martinmoene added a commit to martinmoene/value-ptr-lite that referenced this issue Dec 28, 2020
martinmoene added a commit to martinmoene/optional-fun-lite that referenced this issue Dec 28, 2020
Improve coherence between lite projects automation moved this from In progress to Done Dec 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant