7 Commits (fe15b115202b6f8da2170226740ea71d1e5dabb8)

Author SHA1 Message Date
Teo Mrnjavac e89a8aa3b5 Copy and install PythonQt module translations, if found. 8 years ago
shainer 8d5fbaafeb New cmake switch to skip installing configuration.
The INSTALL_CONFIG is "on" by default. When set to off,
no *.conf file, both global and related to a single module,
will be installed. A warning message is printed by cmake too,
and the module description is edited to make this visible.

This is useful for testing, when we want to install our
own libraries and binary but keep the configuration of the
live system we are testing on (e.g. path to distro image).

Tested on the master branch.
8 years ago
Teo Mrnjavac 2d64a9df00 Allow and glob multiple .conf files in module subdirectory. 9 years ago
Teo Mrnjavac be02eca90e module.conf ==> module.desc everywhere. 10 years ago
Teo Mrnjavac 8f10c21e5b Big configuration overhaul.
Module descriptors are now module.desc, no configuration allowed inside.
Module config files are <modulename>.conf, installed in
share/calamares/modules.
settings.conf is read from /etc/calamares, then share/calamares, and if
running with --debug also in the current dir.
Module config files are read from /etc/calamares/modules, then
share/calamares/modules, and if running with --debug also in
src/modules/<modulename> relative to the current dir.
10 years ago
Aurélien Gâteau b3ba56a829 Indeed CMake, a list is not a directory...
After testing a Python module, the build was broken because the test
created a __pycache__ dir, which CMake tried to install as a file because:

a) `if(IS_DIRECTORY foo)` requires a full path to work

b) For CMake, `IS_DIRECTORY(foo)` is not the same as `IS_DIRECTORY foo`

c) CMake is a pain sometimes
10 years ago
Teo Mrnjavac c57d99a21c Add CalamaresAddModuleSubdirectory, a CMake function for modules that
do not require building through a CMakeLists.txt.
10 years ago