We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15156ac commit b322f35Copy full SHA for b322f35
1 file changed
libc-dep/CMakeLists.txt
@@ -1,8 +1,14 @@
1
set(LIBC_DEP_DIR ${CMAKE_SOURCE_DIR}/libc-dep)
2
+set(LIBC_DEP_OUTPUT ${LIBCC2RC_LIB_DIR}/target/release/libc_dep.rlib)
3
4
add_custom_command(
- OUTPUT ${LIBCC2RC_LIB_DIR}/target/release/libc_dep.rlib ALL
5
+ OUTPUT ${LIBC_DEP_OUTPUT}
6
COMMAND cargo +${RUST_STABLE_VERSION} build --release
7
WORKING_DIRECTORY ${LIBC_DEP_DIR}
8
DEPENDS "${RUST_STAMP_FILE}" ${LIBC_DEP_DIR}/Cargo.toml
9
)
10
+
11
+add_custom_target(
12
+ libc_dep ALL
13
+ DEPENDS "${LIBC_DEP_OUTPUT}"
14
+)
0 commit comments