stubSource

fun stubSource(vararg files: StigRepoFile)

Convenience: add resolved repo-file paths to the stubSourceFiles list.

Within a single DSL block these calls accumulate. At inheritance boundaries the entire stubSourceFiles list uses replacement semantics.

stubs {
stubSource(
repos["stig-project"] / "stubs/src/analysis_stubs.cpp",
repos["stig-project"] / "stubs/src/extra_stubs.cpp",
)
}

fun stubSource(vararg paths: String)

Convenience: add stub source file paths as raw strings.

stubs {
stubSource("/absolute/path/to/stubs.cpp")
}