(Replace underscores with spaces in page links) |
|||
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
The policies outlined here apply to the CMake files in kdelibs/cmake/modules/, i.e. they don't apply to CMake files in other KDE modules. | The policies outlined here apply to the CMake files in kdelibs/cmake/modules/, i.e. they don't apply to CMake files in other KDE modules. | ||
| − | The files located in kdelibs/cmake/modules/ are installed and can be used by other | + | The files located in kdelibs/cmake/modules/ are installed and can be used by other applications. This means they are part of the public interface of kdelibs and we have to keep compatibility. Committing there also has the potential to break the build of whole KDE for everybody. |
When committing changes in kdelibs/cmake/modules/, the following rules must be followed: | When committing changes in kdelibs/cmake/modules/, the following rules must be followed: | ||
| Line 10: | Line 10: | ||
# Documentation must never be removed as long as it is valid and not replaced. | # Documentation must never be removed as long as it is valid and not replaced. | ||
# Other patches can always be committed without review. | # Other patches can always be committed without review. | ||
| − | # All patches must maintain [[Policies/ | + | # All patches must maintain [[Policies/CMake and Source Compatibility|source compatibility]]. |
| − | # All patches must follow the [[Policies/ | + | # All patches must follow the [[Policies/CMake Coding Style|coding style]] for CMake files in KDE. |
The policies outlined here apply to the CMake files in kdelibs/cmake/modules/, i.e. they don't apply to CMake files in other KDE modules.
The files located in kdelibs/cmake/modules/ are installed and can be used by other applications. This means they are part of the public interface of kdelibs and we have to keep compatibility. Committing there also has the potential to break the build of whole KDE for everybody.
When committing changes in kdelibs/cmake/modules/, the following rules must be followed: