-
Notifications
You must be signed in to change notification settings - Fork 7
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
Simplify find_packages example #26
Comments
My motivation for TBB was to show that you could test a library/package in three steps:
This is not completely true, since you must refer to the package name either by name (TBB::tbb) or |
OK I will have a careful look. Of course I don't want to remove a good example. So what is it that we try to achieve precisely in this exercise? I hope this is not a silly question: I would really like that we are clear about the goal of this and then we can assess whether this is a good example. |
Because my feeling was that we want to demonstrate how |
You want to try out a package/library from somebody else. find_package() ease the process, but you need to know where to look( use of the hint) and you need to know the name of the library in CMake context. In the TBB case, it is TBB::tbb or ${TBB_IMPORTS} |
OK so the goal of this exercise is to demonstrate |
Yes. |
OK let's see what I come up with - I use this week as CMake week and will go through entire lesson and try to simplify and motivate more. |
What about starting with CMake, and then do the Makefile, since we use Make to build anyway? Hence make becomes a kind of detour, before we go deeper into make. |
The motivation for starting with Make was to cater to Python/R folks and to understand why Makefiles exist and then arrive at limitations of Make and motivate CMake. Then some Python/R participants may switch off. If we do it the other way, my worry is that we might not reconnect to the interpreted language folks at all. |
My goal was to show: Make is for everybody, CMake is for all those who compile. |
I think this is solved/outdated now since the lesson evolved a lot since. |
Currently we have TBB and Armadillo but I am not sure too many participants can relate to these libraries. I am brainstorming about a simpler example where we possibly detect a package or library that we have created ourselves. I am brainstorming/working on this this week @blindij.
The text was updated successfully, but these errors were encountered: