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

Cmake changes #481

Closed
wants to merge 8 commits into from
Closed

Conversation

sayandip18
Copy link

No description provided.

leej3 and others added 8 commits July 4, 2021 19:05
Using the openmp find module allows cflags etc to be managed by cmake.
Conditional linking/target specific compile defintions allow for a tidier and
more explicit behavior. Associating all such behavior with the targets can also
make it easier to expose the appropriate settings for downstream projects via
the PUBLIC keyword.
setting include_dirs on targets instead of setting them for the project or directory
level encapsulates within project dependencies a little more cleanly and facilitates
exporting targets for downstreams with the appropriate include directories set
uses target_include_dirs to explicitly define the directories used for the taco library.
add alias taco::taco so that downsteams can link against the library whether installed or incorporated
into a fetchcontent pattern.
@sayandip18 sayandip18 closed this Jul 19, 2021
@sayandip18 sayandip18 deleted the cmake_changes branch July 19, 2021 20:39
@sayandip18
Copy link
Author

Sorry! This was supposed to be a PR elsewhere and not in the TACO repo.

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.

2 participants