Skip to main content

Summary

This package contains a collection of tools for the waf build environment.

Description

The waf framework provides a meta build system allowing users to create concrete build systems. Out of the box it provides support for building and installation of programs for a myriad of programming languages (C, C++, Java, Python, Fortran, Lua, …), when needed new functions (e.g. source code checking) can be added to a concrete build solution using waf tools which can be imported and used in wscript build files. See the wafbook for a detailed description of the waf meta build system structure and usage.

The waftools package provides a collection of such tools which, once installed, can be imported and used from any wscript build file on your system. Following provides a non-exhausting list of functions provided by this package:

  • C/C++ export to makefiles (e.g. make, cmake)

  • C/C++ export to IDE’s (e.g. Code::Blocks, Eclipse, Visual Studio)

  • C/C++ source code checking using cppcheck (including html reports)

  • Create installers using NSIS

  • Create C/C++ documentation using DoxyGen

  • List dependencies between build tasks

Usage

The code snippet below provides an example on how the export function from the waftools package can be added to (top) level wscript file of a (your) concrete build solution:

import waftools

def options(opt):
        opt.load('compiler_c')
        opt.load('export', tooldir=waftools.location)

def configure(conf):
        conf.load('compiler_c')
        conf.load('export')

def build(bld):
        bld.program(target='hello', source='hello.c')

Using this code snippet, the meta-data for the program hello can be exported to foreign (build) formats outside of the waf build environment using the export command:

waf configure
waf export --codeblocks

For more information on using waf commands and options use:

waf --help

Metadata

Release files for waftools 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for waftools 0.1.6
File Size Uploaded
waftools-0.1.6.tar.gz 71.5 kB Details

Release files / waftools-0.1.6.tar.gz

Download URL waftools-0.1.6.tar.gz
Size 71.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bc3861ad73d4dfb5e8b997510234d1192c367041fa33202c11a67dbfd86e9d76
BLAKE2b-256 checksum
How to use checksums
6316f2a5ffd2990b8aa67c9e5be79417b4406b88a707621e6591d88ac7244366
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.4.13

1 release file

0.4.11

1 release file

0.4.10

2 release files

0.4.9

2 release files

0.4.8

1 release file

0.4.7

2 release files

0.4.6

2 release files

0.4.5

1 release file

0.4.4

1 release file

0.4.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.7

1 release file

0.3.6

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.8

1 release file

0.1.7

1 release file

This release

0.1.6 This release

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.9

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page