Unix Makefiles.rst 925 B

12345678910111213141516171819202122232425262728293031
  1. Unix Makefiles
  2. --------------
  3. Generates standard UNIX makefiles.
  4. A hierarchy of UNIX makefiles is generated into the build tree. Use
  5. any standard UNIX-style make program to build the project through
  6. the ``all`` target and install the project through the ``install``
  7. (or ``install/strip``) target.
  8. For each subdirectory ``sub/dir`` of the project a UNIX makefile will
  9. be created, containing the following targets:
  10. ``all``
  11. Depends on all targets required by the subdirectory.
  12. ``install``
  13. Runs the install step in the subdirectory, if any.
  14. ``install/strip``
  15. Runs the install step in the subdirectory followed by a ``CMAKE_STRIP`` command,
  16. if any.
  17. The ``CMAKE_STRIP`` variable will contain the platform's ``strip`` utility, which
  18. removes symbols information from generated binaries.
  19. ``test``
  20. Runs the test step in the subdirectory, if any.
  21. ``package``
  22. Runs the package step in the subdirectory, if any.