First pass for rewriting the build system

* Refactored all CMake files
* Started working on compiling shaders to header files in CMake

Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
This commit is contained in:
Fabian Sauter 2022-05-18 21:10:21 +02:00
parent c6a2b022f9
commit b95df8d0a0
33 changed files with 559 additions and 2712 deletions

View file

@ -28,8 +28,6 @@ This by default configures without any of the extra build tasks (such as buildin
* - -DKOMPUTE_OPT_BUILD_DOCS=ON
- Enable if you wish to build the docs (must have docs deps installed)
* - -DKOMPUTE_OPT_BUILD_SHADERS=ON
- Enable if you wish to build the shaders into header files (must have docs deps installed)
* - -DKOMPUTE_OPT_BUILD_SINGLE_HEADER=ON
- Option to build the single header file using "quom" utility
* - -DKOMPUTE_OPT_INSTALL=OFF
- Disables the install step in the cmake file (useful for android build)