CodeBlocks.rst 1.0 KB

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