mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fix building C++ wrapper using Ninja
This commit is contained in:
@@ -41,6 +41,11 @@ add_custom_target(libloot-cxx-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>
|
||||
BYPRODUCTS
|
||||
"${TARGET_PATH}/$<IF:$<CONFIG:Debug>,debug,release>/${LIBLOOT_CXX_FILENAME}"
|
||||
"${TARGET_PATH}/cxxbridge/libloot-cxx/src/lib.rs.cc"
|
||||
"${TARGET_PATH}/cxxbridge/libloot-cxx/src/lib.rs.h"
|
||||
"${TARGET_PATH}/cxxbridge/rust/cxx.h"
|
||||
)
|
||||
|
||||
add_library(libloot-cxx INTERFACE)
|
||||
|
||||
Reference in New Issue
Block a user