CodeBlocks

From D Wiki
Revision as of 10:18, 10 December 2012 by Monarchdodra (talk | contribs) (Porting page from old wiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Cb splash.png

  1. Release: 10.05 (04 July 2010)
  2. Nightly: r8598 (23 November 2012)

The open source, cross platform Free C++ / D IDE. Now with DMD and GDC compilers. For Windows, GNU/Linux, FreeBSD and Mac OS X.

Features

Highlights

  • Open Source! GPLv3, no hidden costs.
  • Cross-platform. Runs on GNU/Linux, Mac OS X, Winodws, FreeBSD (uses wxWidgets).
  • Written in C++. No interpreted languages or proprietary libs needed.
  • Extensible through plugins

Compiler

  • Multiple compiler support:
    • GCC (GNU GCC - GDC, MinGW)
    • Digital Mars (C++, D)
    • ... and much more
  • Very fast custom build system (no makefiles needed)
  • Support for parallel builds (utilizing your CPU's extra cores)
  • Multi-target projects
  • Workspaces to combine multiple projects
  • Inter-project dependencies inside workspace

Debugger

  • Interfaces GNU GDB
  • supports ddbg
  • Also supports MS CDB (not fully featured)
  • Full breakpoints support:
    • Code breakpoints
    • Data breakpoints (read, write and read/write)
    • Breakpoint conditions (break only when an expression is true)
    • Breakpoint ignore counts (break only after certain number of hits)
  • Display local function symbols and arguments
  • User-defined watches (support for watching user-defined types through scripting)
  • Call stack
  • Disassembly
  • Custom memory dump
  • Switch between threads
  • View CPU registers

Interface

  • Syntax highlighting, customizable and extensible
  • Code folding for C++ / D and XML files.
  • Tabbed interface
  • Code completion (works partially, based on the similarity to C++)
  • Class browser
  • Smart indent
  • Open files list for quick switching between files (optional)
  • External customizable "Tools"
  • To-do list managment with different user
  • Extensible through plugins

Install Instructions


  • Nightly Build (frequently updated: 22 May 2010)
    • Get the needed files: link
      • CB nightly
      • mingwm10.dll
      • wxmsw28u_gcc_cb.dll
    • Those are the 3 things we need to install and start up a nigthly build. All 3 of them are available in their own zip file, zipped by using the free and excellent 7-zip (www.7-zip.org). Just get your copy of 7-zip for unzipping.
    • Final steps :
      • unzip the CB nightly in some directory
      • unzip both dll's : requirement : they need to be in your PATH, most easiest is to unzip both of them into the same directory where you unzipped the nightly, so they reside next to the codeblocks.exe .
    • By performing these simple steps you nightly is ready to roll.


  • Build from source
    • Checkout the latest source via SVN

[[code]$ svn co svn://svn.berlios.de/codeblocks/trunk codeblocks]

Compiler

  • Digital Mars D Compiler for Windows

http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler#Digital_Mars_D_Compiler_for_Windows


  • Digital Mars D Compiler for Linux

http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler#Digital_Mars_D_Compiler_for_Linux

Debugger

Screenshot