cmake/Help/generator/CodeBlocks.rst

33 lines
1022 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
CodeBlocks
----------
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 :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.
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.
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``
Generate with :generator:`NMake Makefiles JOM`.
2014-08-03 19:52:23 +02:00
``CodeBlocks - Ninja``
Generate with :generator:`Ninja`.
``CodeBlocks - Unix Makefiles``
Generate with :generator:`Unix Makefiles`.