This pull broadly refactors the cmake files to maintain the current build procedure, but also be more robust and modular. In particular:
Better Supports out of tree builds by making sure references to the build directory are controlled in the usual way by cmake. (Not all cases are covered yet, but more are)
Creates various options so one does not have to build with tutorials, docs, benchmarks, and tests. This currently means we can build the main system out of sources without worrying about the rest of these right now.
Refactors the core tiramisu build into a src/CMakelists.txt as ninja prefers this apparently.
Ideally, we should probably refactor the cmake further, perhaps following what Halide has done.
This pull broadly refactors the cmake files to maintain the current build procedure, but also be more robust and modular. In particular:
Ideally, we should probably refactor the cmake further, perhaps following what Halide has done.