Add WINDOWS_MANIFEST() macro
ISSUE:
@@ -6682,3 +6682,12 @@ multimodule PY23_TEST {
RESTRICT_PATH(devtools/dummy_arcadia MSG Module PY23_TEST is under development)
}
}
+
+WINDOWS_MANIFEST=
+macro WINDOWS_MANIFEST(Manifest) {
+ SET(WINDOWS_MANIFEST $Manifest)
+}
+
+when ($MSVC == "yes" && $WINDOWS_MANIFEST) {
+ LDFLAGS+=/MANIFEST:EMBED /MANIFESTINPUT:${input:WINDOWS_MANIFEST}
+}
