1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-16 22:37:30 +08:00

UseJava: Avoid non-word "compilability" in documentation

Also fix spelling in the release note from commit 3e03f359a7 (UseJava:
Add RESOURCES with NAMESPACE to add_jar(), 2021-04-27).
This commit is contained in:
Brad King
2021-05-11 14:53:53 -04:00
parent ce19e38151
commit f89c1a559d
2 changed files with 2 additions and 2 deletions

View File

@@ -2,4 +2,4 @@ UseJava-RESOURCES-NAMESPACE
--------------------------- ---------------------------
* The :module:`UseJava` module command ``add_jar`` gained option RESOURCES * The :module:`UseJava` module command ``add_jar`` gained option RESOURCES
allow explicit naming of resouces with non-optional namespace. allow explicit naming of resources with non-optional namespace.

View File

@@ -51,7 +51,7 @@ almost certainly result in confusion.
.. note:: SOURCES .. note:: SOURCES
Adding resources via the ``SOURCES`` parameter relies upon a hard-coded Adding resources via the ``SOURCES`` parameter relies upon a hard-coded
list of file extensions which are tested to determine compilability list of file extensions which are tested to determine whether they compile
(e.g. File.java). ``SOURCES`` files which match the extensions are compiled. (e.g. File.java). ``SOURCES`` files which match the extensions are compiled.
Files which do not match are treated as resources. To include uncompiled Files which do not match are treated as resources. To include uncompiled
resources matching those file extensions use the ``RESOURCES`` parameter. resources matching those file extensions use the ``RESOURCES`` parameter.