Add --make json to enable integration with non-make/cmake build systems (#5799)

This commit is contained in:
Andrew Voznytsa
2025-03-11 19:57:21 -04:00
committed by GitHub
parent 53151d7c5f
commit 6a48d3bb83
12 changed files with 603 additions and 5 deletions
+10
View File
@@ -310,6 +310,16 @@ bool V3Os::filenameIsRel(const string& filename) VL_PURE {
#endif
}
string V3Os::filenameSlashPath(const string& path) VL_PURE {
#if defined(_WIN32) || defined(__MINGW32__)
string slashedPath = path;
std::replace(slashedPath.begin(), slashedPath.end(), '\\', '/');
return slashedPath;
#else
return path;
#endif
}
//######################################################################
// File utilities