CSourceSet launcherSources = suiteSourceSet.maybeCreate(CUNIT_LAUNCHER_SOURCE_SET, CSourceSet.class);
File baseDir = new File(buildDir, String.format("src/%s/cunitLauncher", suite.getName()));
launcherSources.getSource().srcDir(new File(baseDir, "c"));
launcherSources.getExportedHeaders().srcDir(new File(baseDir, "headers"));
CSourceSet testSources = suiteSourceSet.maybeCreate("c", CSourceSet.class);
testSources.lib(launcherSources);
}
}
@Mutate
public void createCUnitLauncherTasks(TaskContainer tasks, TestSuiteContainer testSuites, ProjectSourceSet sources) {