From 6d707a9d39a2fd01c0a66acd932ce4a4a11f2094 Mon Sep 17 00:00:00 2001 From: memN0ps <89628341+memN0ps@users.noreply.github.com> Date: Wed, 26 Jun 2024 16:53:57 +1200 Subject: [PATCH] Moved Makefile.toml to root. Avoid CD - This won't cause the error "unresolved external symbol DriverEntry" when compiling from matrix-rs root directory. - You no longer have to go `cd driver` then cargo make --profile development. - Can compile from root. --- driver/Makefile.toml => Makefile.toml | 2 ++ 1 file changed, 2 insertions(+) rename driver/Makefile.toml => Makefile.toml (96%) diff --git a/driver/Makefile.toml b/Makefile.toml similarity index 96% rename from driver/Makefile.toml rename to Makefile.toml index c64017f..e1d2244 100644 --- a/driver/Makefile.toml +++ b/Makefile.toml @@ -1,4 +1,6 @@ [env] +CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true +CARGO_MAKE_WORKSPACE_SKIP_MEMBERS = ["hypervisor"] # Environment variables VC_BUILD_DIR = "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Auxiliary\\Build\\vcvarsamd64_x86.bat" CARGO_MAKE_CARGO_BUILD_TEST_FLAGS = "--profile ${CARGO_MAKE_CARGO_PROFILE}"