Skip to content

Allow easier inclusion in other cmake projects#4

Open
doubleday wants to merge 1 commit into
ast-al:masterfrom
doubleday:master
Open

Allow easier inclusion in other cmake projects#4
doubleday wants to merge 1 commit into
ast-al:masterfrom
doubleday:master

Conversation

@doubleday
Copy link
Copy Markdown

This is a bit awkward because I'm such a cmake noob but this PR adds fn as a interface library which allows it to be used directly via target_link_libraries in other projects (using CPM.cmake here)

CPMAddPackage(
    NAME fn
    GITHUB_REPOSITORY ast-al/rangeless
)

target_link_libraries(MyApp PRIVATE
    fn
)

@doubleday
Copy link
Copy Markdown
Author

doubleday commented Mar 14, 2021

Not sure whether the library name should rather be rangeless. Just took the project name from the CMakeLists.txt here.

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