CodeBlocks.rst 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. CodeBlocks
  2. ----------
  3. .. deprecated:: 3.27
  4. Support for :ref:`Extra Generators` is deprecated and will be removed from
  5. a future version of CMake. IDEs may use the :manual:`cmake-file-api(7)`
  6. to view CMake-generated project build trees.
  7. Generates CodeBlocks project files.
  8. Project files for CodeBlocks will be created in the top directory and
  9. in every subdirectory which features a ``CMakeLists.txt`` file containing
  10. a :command:`project` call. Additionally a hierarchy of makefiles is generated
  11. into the build tree.
  12. The appropriate make program can build the
  13. project through the default ``all`` target. An ``install`` target is
  14. also provided.
  15. .. versionadded:: 3.10
  16. The :variable:`CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES` variable may
  17. be set to ``ON`` to exclude any files which are located outside of
  18. the project root directory.
  19. This "extra" generator may be specified as:
  20. ``CodeBlocks - MinGW Makefiles``
  21. Generate with :generator:`MinGW Makefiles`.
  22. ``CodeBlocks - NMake Makefiles``
  23. Generate with :generator:`NMake Makefiles`.
  24. ``CodeBlocks - NMake Makefiles JOM``
  25. .. versionadded:: 3.8
  26. Generate with :generator:`NMake Makefiles JOM`.
  27. ``CodeBlocks - Ninja``
  28. Generate with :generator:`Ninja`.
  29. ``CodeBlocks - Unix Makefiles``
  30. Generate with :generator:`Unix Makefiles`.