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

Function unity_file_prefix

Source/cmLocalGenerator.cxx:3174–3180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3172}
3173
3174char const* unity_file_prefix(cmGeneratorTarget* target)
3175{
3176 if (cmValue val = target->GetProperty("UNITY_BUILD_FILENAME_PREFIX")) {
3177 return val->c_str();
3178 }
3179 return "unity_";
3180}
3181}
3182
3183std::vector<cmLocalGenerator::UnitySource>

Callers 2

AddUnityFilesModeAutoMethod · 0.85

Calls 2

c_strMethod · 0.80
GetPropertyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…