Vendor CMakeRust
This commit is contained in:
committed by
Dustin J. Mitchell
parent
37d7f3de8a
commit
7492fc48bb
5
cmake/CMakeRust/hello/CMakeLists.txt
Normal file
5
cmake/CMakeRust/hello/CMakeLists.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
add_executable(hello hello.rs)
|
||||
|
||||
set_target_properties(hello PROPERTIES LINKER_LANGUAGE Rust)
|
||||
|
||||
5
cmake/CMakeRust/hello/hello.rs
Normal file
5
cmake/CMakeRust/hello/hello.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
fn main() {
|
||||
println!("Hello, World!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user