13 Commits (620d2a769a69a14016abd2f8deb17f3e1c25557e)

Author SHA1 Message Date
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.
7 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.
7 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
7 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.
8 years ago
Adriaan de Groot 46636bdf65 Modules: documentation of CMake, module.desc, etc. 8 years ago
Adriaan de Groot 47e95b32a9 CMake: fix auto-generated module.desc 8 years ago
Adriaan de Groot bcbd60f9a9 CMake: generate the module.desc, since it is uninteresting 8 years ago
Adriaan de Groot 0b45a52ad9 CMake: simplify module loading more 8 years ago
Adriaan de Groot 978ff6591c CMake: simplify module loading 8 years ago
Adriaan de Groot 9b749576be CMake: move our own modules into the CMakeModules dir, tidy 8 years ago