2014-08-03 19:52:23 +02:00
|
|
|
CodeBlocks
|
|
|
|
----------
|
|
|
|
|
2023-07-02 19:51:09 +02:00
|
|
|
.. deprecated:: 3.27
|
|
|
|
|
|
|
|
Support for :ref:`Extra Generators` is deprecated and will be removed from
|
|
|
|
a future version of CMake. IDEs may use the :manual:`cmake-file-api(7)`
|
|
|
|
to view CMake-generated project build trees.
|
|
|
|
|
2014-08-03 19:52:23 +02:00
|
|
|
Generates CodeBlocks project files.
|
|
|
|
|
|
|
|
Project files for CodeBlocks will be created in the top directory and
|
2019-11-11 23:01:05 +01:00
|
|
|
in every subdirectory which features a ``CMakeLists.txt`` file containing
|
|
|
|
a :command:`project` call. Additionally a hierarchy of makefiles is generated
|
2018-01-26 17:06:56 +01:00
|
|
|
into the build tree.
|
|
|
|
The appropriate make program can build the
|
2019-11-11 23:01:05 +01:00
|
|
|
project through the default ``all`` target. An ``install`` target is
|
2014-08-03 19:52:23 +02:00
|
|
|
also provided.
|
|
|
|
|
2021-09-14 00:13:48 +02:00
|
|
|
.. versionadded:: 3.10
|
|
|
|
The :variable:`CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES` variable may
|
|
|
|
be set to ``ON`` to exclude any files which are located outside of
|
|
|
|
the project root directory.
|
|
|
|
|
2014-08-03 19:52:23 +02:00
|
|
|
This "extra" generator may be specified as:
|
|
|
|
|
|
|
|
``CodeBlocks - MinGW Makefiles``
|
|
|
|
Generate with :generator:`MinGW Makefiles`.
|
|
|
|
|
|
|
|
``CodeBlocks - NMake Makefiles``
|
|
|
|
Generate with :generator:`NMake Makefiles`.
|
|
|
|
|
2017-04-14 19:02:05 +02:00
|
|
|
``CodeBlocks - NMake Makefiles JOM``
|
2021-09-14 00:13:48 +02:00
|
|
|
.. versionadded:: 3.8
|
|
|
|
Generate with :generator:`NMake Makefiles JOM`.
|
2017-04-14 19:02:05 +02:00
|
|
|
|
2014-08-03 19:52:23 +02:00
|
|
|
``CodeBlocks - Ninja``
|
|
|
|
Generate with :generator:`Ninja`.
|
|
|
|
|
|
|
|
``CodeBlocks - Unix Makefiles``
|
|
|
|
Generate with :generator:`Unix Makefiles`.
|