Code::Blocks

From Infogalactic: the planetary knowledge core
(Redirected from CodeBlocks)
Jump to: navigation, search

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

Code::Blocks
Code Blocks logo.jpg
Cbmain.png
Code::Blocks 10.05
Developer(s) The Code::Blocks team
Stable release 13.12 / December 27, 2013; 10 years ago (2013-12-27)
Preview release 15.12 rc1 / December 7, 2015; 8 years ago (2015-12-07)[1]
Development status Active
Written in C++ (wxWidgets)
Operating system Cross-platform
Type IDE
License GNU GPLv3[2]
Website codeblocks.org

Code::Blocks is a free, open-source cross-platform IDE that supports multiple compilers including GCC, Clang and Visual C++. It is developed in C++ using wxWidgets as the GUI toolkit. Using a plugin architecture, its capabilities and features are defined by the provided plugins. Currently, Code::Blocks is oriented towards C, C++, and Fortran. It has a custom build system and optional Make support.

Code::Blocks is being developed for Windows, Linux, and Mac OS X and has been ported to FreeBSD,[3] OpenBSD[4] and Solaris.[5]

History

After releasing two release candidate versions, 1.0rc1 on July 25, 2005 and 1.0rc2 on October 25, 2005, instead of making a final release, the project developers started adding many new features, with the final release being repeatedly postponed. Instead, there were nightly builds of the latest SVN version made available on a daily basis.[citation needed]

The first stable release was on February 28, 2008, with the version number changed to 8.02. The versioning scheme was changed to that of Ubuntu, with the major and minor number representing the year and month of the release. Version 13.12 is the latest stable release; however for the most up-to-date version the user can download the relatively stable nightly build or download the source code from SVN.

Jennic Limited distributes a version of Code::Blocks customized to work with its microcontrollers.[6]

Features

Compilers

Code::Blocks supports multiple compilers, including GCC, MinGW, Digital Mars, Microsoft Visual C++, Borland C++, LLVM Clang, Watcom, LCC and the Intel C++ compiler. Although the IDE was designed for the C++ language, there is some support for other languages, including Fortran and D. A plug-in system is included to support other programming languages.

Code editor

The IDE features syntax highlighting and code folding (through its Scintilla editor component), C++ code completion, class browser, a hex editor and many other utilities. Opened files are organized into tabs. The code editor supports font and font size selection and personalized syntax highlighting colours.

Debugger

The Code::Blocks debugger has full breakpoint support. It also allows the user to debug their program by having access to the local function symbol and argument display, user-defined watches, call stack, disassembly, custom memory dump, thread switching, CPU registers and GNU Debugger Interface.

GUI designer

As of version 13.12 Code::Blocks comes with a GUI designer called wxSmith. It is a derivative port of wxWidgets version 2.9.4.[7] To make a complete wxWidgets application, the appropriate wxWidgets SDK must be installed.

User migration

Some of Code::Blocks features are targeted at users migrating from other IDE's - these include Dev-C++, Microsoft Visual C++ project import (MSVC 7 & 10), and Dev-C++ Devpak support.

Project files and build system

Code::Blocks uses a custom build system, which stores its information in XML-based project files. It can optionally use external makefiles, which simplifies interfacing with projects using the GNU or qmake build systems.

See also

References

External links