File tree Expand file tree Collapse file tree 3 files changed +0
-16
lines changed
Expand file tree Collapse file tree 3 files changed +0
-16
lines changed Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.14)
22project (mbinary VERSION 1.0 LANGUAGES CXX)
33
4- # Path to vcpkg toolchain
5- set (CMAKE_TOOLCHAIN_FILE "${CMAKE_SOURCE_DIR} /vcpkg_installed/scripts/buildsystems/vcpkg.cmake" )
6-
74# Use modern C++ standards
85set (CMAKE_CXX_STANDARD 20)
96set (CMAKE_CXX_STANDARD_REQUIRED True )
@@ -21,19 +18,6 @@ set(RUST_PROJECT_DIR "${CMAKE_SOURCE_DIR}/..")
2118set (RUST_LIB_DIR "${RUST_PROJECT_DIR} /target/debug" )
2219set (RUST_LIB "${RUST_LIB_DIR} /libmbinary.a" )
2320
24- # # Add a custom command to build Rust library using Cargo
25- # add_custom_command(
26- # OUTPUT "${RUST_LIB}"
27- # COMMAND cargo build --manifest-path "${RUST_PROJECT_DIR}/Cargo.toml"
28- # WORKING_DIRECTORY "${RUST_PROJECT_DIR}"
29- # COMMENT "Building Rust library with Cargo"
30- # VERBATIM
31- # )
32- #
33- # # Add a custom target to ensure Rust builds before the C++ tests
34- # add_custom_target(build_rust ALL DEPENDS "${RUST_LIB}")
35-
36-
3721# Test executable
3822add_executable (MbinaryTests
3923 tests/test_decode_c.cpp
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments