coderefinery / cmake Goto Github PK
View Code? Open in Web Editor NEWCMake lesson material.
Home Page: https://coderefinery.github.io/cmake/
License: Creative Commons Attribution 4.0 International
CMake lesson material.
Home Page: https://coderefinery.github.io/cmake/
License: Creative Commons Attribution 4.0 International
Testing CMake source code should rather be included via include()
.
Some make the build directory under src. CMake then only sees the CMakeLists.txt under src and not the hierarchy of CMakeLists.txt
We can simplify this even further to crystallize out the CMake aspects and to not waste any time on understanding what this code is about. I am working on this this week, just FYI @blindij
refer to https://github.com/coderefinery/git-intro/issues/129 for details
E.g. check out https://prateekvjoshi.com/2014/02/01/cmake-vs-make/.
Motivation (discussion on the Carpentries mailing list): https://carpentries.topicbox.com/groups/discuss/Td64229aeb252a027
In short, the motivation is to simplify reuse for those who wish to take parts of our lessons and remix them into material which is CC-BY.
At the team meeting 2019-08-12 we have decided to change the license to CC-BY provided that all contributors to this lesson material agree to this change.
This issue will track the progress of this change.
Consider taking it out of the default workshop and turn it into a separate 1-day workshop which can be coupled with a 1-day workshop on mixed-language development.
@blindij I am worried that this section might not be helpful for beginners. IMO one very rarely builds for several platforms at the same time (I have never done that) and this is something that novices should IMO not worry about. We want cross-platform but typically we build only for the platform where we are on. I would remove that section.
@blindij I would stick with "hello.x" throughout to avoid confusion. It is currently not consistent.
Just a reminder for myself.
@blindij I think I see why you want to show it but this might motivate people to do this in their projects. If one needs to change the build directory structure, then this is probably a better way: http://stackoverflow.com/a/6595001
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.
They have disappeared to make room for find_package
but it would be good to show them somewhere, integrated in an example, passively.
@blindij I suggest to keep compiler flags and find family in different sections so that both are easier to find. They are relatively unrelated. But of course both super useful. Also there seems to be a leftover 09-find-familiy. I agree that the find family should be mentioned before the break.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.