equal
deleted
inserted
replaced
|
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 Cargo.toml) |
|
6 |
|
7 # Do not use `corrosion_add_target_rustflags()` here, since we want to test if the rustflag from `.cargo/config.toml` |
|
8 # is picked up. |
|
9 |
|
10 # Local rustflags should not interfere with `.cargo/config.toml`, so enable one. |
|
11 corrosion_add_target_local_rustflags(cargo_config_rustflags "--cfg=local_rustflag") |