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

Function RegisterUnitySources

Source/cmLocalGenerator.cxx:3052–3057  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3050namespace {
3051
3052inline void RegisterUnitySources(cmGeneratorTarget* target, cmSourceFile* sf,
3053 std::string const& filename)
3054{
3055 target->AddSourceFileToUnityBatch(sf->ResolveFullPath());
3056 sf->SetProperty("UNITY_SOURCE_FILE", filename);
3057}
3058}
3059
3060cmLocalGenerator::UnitySource cmLocalGenerator::WriteUnitySource(

Callers 1

WriteUnitySourceMethod · 0.85

Calls 2

SetPropertyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…