Move Cargo MSVC debug config

This commit is contained in:
Oliver Hamlet
2025-04-28 20:40:38 +01:00
parent bdc79c662c
commit 98f82cc21d
2 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ add_custom_target(libloot-cxx-build
COMMAND cargo build
$<$<NOT:$<CONFIG:Debug>>:--release>
$<$<AND:$<CONFIG:Debug>,$<PLATFORM_ID:Windows>>:--config>
$<$<AND:$<CONFIG:Debug>,$<PLATFORM_ID:Windows>>:${CMAKE_SOURCE_DIR}/../.cargo/msvcd-config.toml>
$<$<AND:$<CONFIG:Debug>,$<PLATFORM_ID:Windows>>:${CMAKE_SOURCE_DIR}/.cargo/msvc-debug-config.toml>
BYPRODUCTS
"${TARGET_PATH}/$<IF:$<CONFIG:Debug>,debug,release>/${LIBLOOT_CXX_FILENAME}"
"${TARGET_PATH}/cxxbridge/libloot-cxx/src/lib.rs.cc"