ProvenanceBuildDsl

DSL block for P3 — provenance build configuration.

Controls which source files from the native build compile database are compiled into the complete P2 LLVM-compatible compile-command database.

stig {
element {
provenanceBuild {
from(nativeBuild.compileCommands)
include(repos["sourceRepo"] / "activities/foo")
excludeRegex(".*test.*")
}
}
}

Settable at: defaults → group → element (cascading).

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Exclude path patterns applied after includes.

Link copied to clipboard

Include path patterns. Empty means every C/C++ source file in the input compile database is selected.

Functions

Link copied to clipboard
fun exclude(vararg files: StigRepoFile)

Convenience: add repo-file patterns to excludes.

Link copied to clipboard
fun excludeAbsolutePath(vararg paths: String)
Link copied to clipboard
fun excludeGlob(vararg patterns: String)
Link copied to clipboard
fun excludeRegex(vararg patterns: String)
Link copied to clipboard
Link copied to clipboard
fun include(vararg files: StigRepoFile)

Convenience: add repo-file patterns to includes.

Link copied to clipboard
fun includeAbsolutePath(vararg paths: String)
Link copied to clipboard
fun includeGlob(vararg patterns: String)
Link copied to clipboard
fun includeRegex(vararg patterns: String)