-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep trying to add the possibility to build MEOS from scratch
- Loading branch information
1 parent
9cc41be
commit 9bc8ac7
Showing
9 changed files
with
40 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "sys/MobilityDB"] | ||
path = sys/MobilityDB | ||
[submodule "sys/meos-src/source"] | ||
path = sys/meos-src/source | ||
url = https://github.com/MobilityDB/MobilityDB.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule MobilityDB
deleted from
60048b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[package] | ||
name = "meos-src" | ||
version = "0.1.3" | ||
edition = "2021" | ||
links = "meossrc" | ||
build = "build.rs" | ||
description = "static library build for meos-sys" | ||
repository = "https://github.com/MobilityDB/RustMEOS" | ||
authors = ["David García Morillo <[email protected]>"] | ||
license-file = "LICENSE" | ||
exclude = ["source/tests"] | ||
|
||
[build-dependencies] | ||
cmake = "0.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
fn main() { | ||
println!("cargo:rerun-if-changed=build.rs"); | ||
|
||
let libmeos = cmake::Config::new("source").define("MEOS", "1").build(); | ||
|
||
println!("cargo:lib=meos"); | ||
|
||
let search_path = format!("{}/lib", libmeos.display()); | ||
assert!(std::path::Path::new(&search_path).exists()); | ||
println!("cargo:search={}", search_path); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|