author | unC0Rr |
Wed, 28 Aug 2024 15:31:51 +0200 | |
branch | transitional_engine |
changeset 16021 | 6a3dc15b78b9 |
permissions | -rw-r--r-- |
16021 | 1 |
cmake_minimum_required(VERSION 3.15) |
2 |
project(test_project VERSION 0.1.0) |
|
3 |
include(../../test_header.cmake) |
|
4 |
||
5 |
corrosion_import_crate(MANIFEST_PATH rust/Cargo.toml) |
|
6 |
corrosion_experimental_cbindgen(TARGET rust_lib HEADER_NAME "rust-lib.h") |
|
7 |
||
8 |
add_executable(cpp-exe main.cpp) |
|
9 |
set_property(TARGET cpp-exe PROPERTY CXX_STANDARD 11) |
|
10 |
target_link_libraries(cpp-exe PUBLIC rust_lib) |