Verify WPILib/OpenCV versions at runtime (#1772)

This commit is contained in:
Matt Morley
2025-02-10 17:52:48 -08:00
committed by GitHub
parent e2b028abdc
commit 8f816cf1af
6 changed files with 94 additions and 4 deletions

View File

@@ -30,5 +30,9 @@ namespace photon {
const char* versionString = "${version}";
const char* buildDate = "${date}";
const bool isRelease = strncmp(dev_, versionString, strlen(dev_)) != 0;
// Versions of dependant libraries
const char* wpilibTargetVersion = "${wpilibVersion}";
const char* opencvTargetVersion = "${opencvVersion}";
}
}