From 98f82cc21d3bede9a4c6d5c61283f3b331832afc Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Mon, 28 Apr 2025 17:47:38 +0100 Subject: [PATCH] Move Cargo MSVC debug config --- .cargo/msvcd-config.toml => cxx/.cargo/msvc-debug-config.toml | 0 cxx/CMakeLists.txt | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename .cargo/msvcd-config.toml => cxx/.cargo/msvc-debug-config.toml (100%) diff --git a/.cargo/msvcd-config.toml b/cxx/.cargo/msvc-debug-config.toml similarity index 100% rename from .cargo/msvcd-config.toml rename to cxx/.cargo/msvc-debug-config.toml diff --git a/cxx/CMakeLists.txt b/cxx/CMakeLists.txt index b94952b8..234a129e 100644 --- a/cxx/CMakeLists.txt +++ b/cxx/CMakeLists.txt @@ -40,7 +40,7 @@ add_custom_target(libloot-cxx-build COMMAND cargo build $<$>:--release> $<$,$>:--config> - $<$,$>:${CMAKE_SOURCE_DIR}/../.cargo/msvcd-config.toml> + $<$,$>:${CMAKE_SOURCE_DIR}/.cargo/msvc-debug-config.toml> BYPRODUCTS "${TARGET_PATH}/$,debug,release>/${LIBLOOT_CXX_FILENAME}" "${TARGET_PATH}/cxxbridge/libloot-cxx/src/lib.rs.cc"