Skip to main content

Tools to make compiling C/C++ projects easy

Project description

Author:

geoff@zomojo.com

Date:
2016-08-09
Version:
4.1.30
Manual section:

1

Manual group:

developers

SYNOPSIS

ct-* [compilation args] [filename.cpp] [–variant=<VARIANT>]

DESCRIPTION

The various ct-* tools exist to build C/C++ executables with almost no configuration. For example, to build a C or C++ program, type

ct-cake –auto

which will try to determine the correct source files to generate executables from and also determine the tests to build and run.

A variant is a configuration file that specifies various configurable settings like the compiler and compiler flags. Common variants are “debug” and “release”.

Options are parsed using python-configargparse. This means they can be passed in on the command line, as environment variables or in config files. Command-line values override environment variables which override config file values which override defaults. Note that the environment variables are captilized. That is, a command line option of –magic=cpp is the equivalent of an environment variable MAGIC=cpp.

Other notable tools are

  • ct-headertree: provides information about structure of the include files

  • ct-filelist: provides the list of files needed to be included in a tarball (e.g. for packaging)

SEE ALSO

  • ct-build

  • ct-build-dynamic-library

  • ct-build-static-library

  • ct-cache

  • ct-cache-clean

  • ct-cake

  • ct-cmakelists

  • ct-config

  • ct-cppdeps

  • ct-create-cmakelists

  • ct-create-makefile

  • ct-filelist

  • ct-findtargets

  • ct-gitroot

  • ct-headertree

  • ct-jobs

  • ct-list-variants

  • ct-magicflags

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

compiletools-4.1.30.tar.gz (65.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page