Skip to content

Commit 0f90e9a

Browse files
committed
Specify VC_BUILD_DIR in a separate env file
Stop commiting our local VC_BUILD_DIR path
1 parent 301a48b commit 0f90e9a

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ dist/
33
DriverCertificate.cer
44
kdnet-key.txt
55
notes/.obsidian
6+
7+
# Local env var specs
8+
/.env

driver/mux/Makefile.toml

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
[env]
2-
VC_BUILD_DIR="C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat"
1+
env_files = [
2+
# Should have
3+
# VC_BUILD_DIR="<path to vc build vars>"
4+
"../../.env/vc_build_dir.env"
5+
]
36

7+
[env]
48
DRIVER_VERSION="*"
59
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
610
TARGET_ARCH = { source = "${CARGO_MAKE_RUST_TARGET_TRIPLE}", default_value = "unsupported", mapping = { "i686-pc-windows-msvc" = "x86", "x86_64-pc-windows-msvc" = "amd64", "aarch64-pc-windows-msvc" = "arm64" } }

driver/ndisprot-kmdf/Makefile.toml

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
[env]
2-
VC_BUILD_DIR="C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat"
1+
env_files = [
2+
# Should have
3+
# VC_BUILD_DIR="<path to vc build vars>"
4+
"../../.env/vc_build_dir.env"
5+
]
36

7+
[env]
48
DRIVER_VERSION="*"
59
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
610
TARGET_ARCH = { source = "${CARGO_MAKE_RUST_TARGET_TRIPLE}", default_value = "unsupported", mapping = { "i686-pc-windows-msvc" = "x86", "x86_64-pc-windows-msvc" = "amd64", "aarch64-pc-windows-msvc" = "arm64" } }

0 commit comments

Comments
 (0)