Skip to content

Commit ca74d29

Browse files
committed
Updated vcpkg configuration for manifest mode.
1 parent 70768d8 commit ca74d29

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

c/CMakeLists.txt

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
cmake_minimum_required(VERSION 3.14)
22
project(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
85
set(CMAKE_CXX_STANDARD 20)
96
set(CMAKE_CXX_STANDARD_REQUIRED True)
@@ -21,19 +18,6 @@ set(RUST_PROJECT_DIR "${CMAKE_SOURCE_DIR}/..")
2118
set(RUST_LIB_DIR "${RUST_PROJECT_DIR}/target/debug")
2219
set(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
3822
add_executable(MbinaryTests
3923
tests/test_decode_c.cpp
File renamed without changes.

0 commit comments

Comments
 (0)