16 Commits (2490884b78c5945bdb61e8c1e6682c5a511d31a2)

Author SHA1 Message Date
Adriaan de Groot 5ad73681c2 CMake: actually write the NO_CONFIG setting 5 years ago
Adriaan de Groot fbb452f9bf CMake: add support for NO_CONFIG
- A C++ module should set NO_CONFIG to flag that it doesn't have a
   config file (this is an error if it secretly **does** have one)
5 years ago
Adriaan de Groot 4652df0643 CMake: allow required modules in calamares_add_plugin
- Add a REQUIRES keyword
 - Write out values to the descriptor
 - Add some documentation for the function as a whole
5 years ago
Adriaan de Groot d7594860b0 CMake: fix calamares_add_library
- Remove the commented-out cruft and the whinging
 - Fix use of COMPILE_DEFINITIONS with a list passed in
 - Remove unused arguments (TYPE, TARGET)
 - Document calamares_add_library
 - Document how to use COMPILE_DEFINITIONS (in calamares_add_plugin)
6 years ago
Adriaan de Groot 82c51dec37 CMake: don't change cmake logging on release builds
- There is no real need to reduce the logging on release builds,
   it's just confusing that all the cmake-time output changes
   in a non-meaningful way.
6 years ago
Adriaan de Groot 2f6e80dc42 CMake: always copy the config files to the build directory.
Switching to INSTALL_CONFIG=OFF breaks tests by not having them
in the build directory. Some logic was coupling not-installing
to not-using-in-build-dir too closely.
6 years ago
Adriaan de Groot d325366e92 CMake: fix plugin NO_INSTALL keyword
Although the NO_INSTALL keyword could be specified for
Calamares plugins, it didn't actually do anything. Now
it does. A NO_INSTALL module does not install configs
or libraries.
6 years ago
Adriaan de Groot def459a29d [libcalamaresui] Read emergency setting from module.desc
- Read setting from the module descriptor
 - Document optional settings
 - Add EMERGENCY keyword to the CMake helper functions
6 years ago
Adriaan de Groot 42ba505ceb CMake: add license headers, copyright
Since we install the CMake files now, also put license headers in them.
These files are intended to help plugin and branding component authors
write them in a simple Calamares-idiomatic way.
7 years ago
Kevin Kofler 633a2a193d CMake: fix typo in CalamaresAddPlugin.cmake
Fix "calamaers_add_plugin" typo in the introductory comment of
CMakeModules/CalamaresAddPlugin.cmake.
7 years ago
Adriaan de Groot 46636bdf65 Modules: documentation of CMake, module.desc, etc. 7 years ago
Adriaan de Groot 47e95b32a9 CMake: fix auto-generated module.desc 7 years ago
Adriaan de Groot bcbd60f9a9 CMake: generate the module.desc, since it is uninteresting 7 years ago
Adriaan de Groot 0b45a52ad9 CMake: simplify module loading more 7 years ago
Adriaan de Groot 978ff6591c CMake: simplify module loading 7 years ago
Adriaan de Groot 9b749576be CMake: move our own modules into the CMakeModules dir, tidy 7 years ago