MCPcopy Create free account
hub / github.com/Kitware/CMake / WriteUnity

Method WriteUnity

Source/cmGlobalFastbuildGenerator.cxx:1195–1214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1193}
1194
1195void cmGlobalFastbuildGenerator::WriteUnity(FastbuildUnityNode const& Unity)
1196{
1197 WriteCommand("Unity", Quote(Unity.Name), 1);
1198 Indent(1);
1199 *BuildFileStream << "{\n";
1200 {
1201 WriteVariable("UnityOutputPath", Quote(Unity.UnityOutputPath), 2);
1202 WriteVariable("UnityOutputPattern", Quote(Unity.UnityOutputPattern), 2);
1203 WriteArray("UnityInputFiles", Wrap(Unity.UnityInputFiles), 2);
1204 if (!Unity.UnityInputIsolatedFiles.empty()) {
1205 WriteArray("UnityInputIsolatedFiles",
1206 Wrap(Unity.UnityInputIsolatedFiles), 2);
1207 }
1208 if (UsingRelativePaths) {
1209 WriteVariable("UseRelativePaths_Experimental", "true", 2);
1210 }
1211 }
1212 Indent(1);
1213 *BuildFileStream << "}\n";
1214}
1215
1216void cmGlobalFastbuildGenerator::WriteObjectList(
1217 FastbuildObjectListNode const& ObjectList, bool allowDistribution)

Callers 1

WriteTargetMethod · 0.95

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected