dextool_test.compiler

Members

Functions

addDefine
auto addDefine(BuildCommandRun br, string v)

Add the parameter as a define (-D).

addFilesFromOutdirWithExtension
auto addFilesFromOutdirWithExtension(BuildCommandRun br, string ext, string[] exclude)

Add recursively all files in outdir with extension ext (including dot)

addGtestArgs
auto addGtestArgs(BuildCommandRun br)

Add parameters to link and use gmock/gtest.

addInclude
auto addInclude(BuildCommandRun br, Path p)

Add the parameter as an include (-I).

makeCompile
auto makeCompile(const ref TestEnv testEnv, string compiler)

Construct an execution of a compiler.

outputToDefaultBinary
auto outputToDefaultBinary(BuildCommandRun br)

Use in conjunction with makeCompile to setup the default binary destination.

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

License

MPL-2