Browse Source

doc: mention the CMAKETARGETS infrastructure in the list of infrastructures

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni 13 năm trước cách đây
mục cha
commit
bcd0158e31

+ 9 - 2
docs/manual/adding-packages-directory.txt

@@ -101,8 +101,8 @@ installed, etc.
 Depending on the package type, the +.mk+ file must be written in a
 Depending on the package type, the +.mk+ file must be written in a
 different way, using different infrastructures:
 different way, using different infrastructures:
 
 
-* *Makefiles for generic packages* (not using autotools): These are
-  based on an infrastructure similar to the one used for
+* *Makefiles for generic packages* (not using autotools or CMake):
+  These are based on an infrastructure similar to the one used for
   autotools-based packages, but requires a little more work from the
   autotools-based packages, but requires a little more work from the
   developer. They specify what should be done for the configuration,
   developer. They specify what should be done for the configuration,
   compilation, installation and cleanup of the package. This
   compilation, installation and cleanup of the package. This
@@ -119,6 +119,13 @@ different way, using different infrastructures:
   system. We cover them through a xref:autotargets-tutorial[tutorial]
   system. We cover them through a xref:autotargets-tutorial[tutorial]
   and xref:autotargets-reference[reference].
   and xref:autotargets-reference[reference].
 
 
+* *Makefiles for cmake-based software*: We provide a dedicated
+   infrastructure for such packages, as CMake is a more and more
+   commonly used build system and has a standardized behaviour. This
+   infrastructure 'must' be used for new packages that rely on
+   CMake. We cover them through a xref:cmaketargets-tutorial[tutorial]
+   and xref:cmaketargets-reference[reference].
+
 * *Hand-written Makefiles:* These are currently obsolete, and no new
 * *Hand-written Makefiles:* These are currently obsolete, and no new
   manual Makefiles should be added. However, since there are still
   manual Makefiles should be added. However, since there are still
   many of them in the tree, we keep them documented in a
   many of them in the tree, we keep them documented in a