Skip to content

Commit

Permalink
Merge pull request #580 from ut-issl/feature/export-src-dir-via-cargo
Browse files Browse the repository at this point in the history
Export src dir via cargo
  • Loading branch information
sksat authored May 23, 2023
2 parents 7497a8e + 8732865 commit db74c28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "c2a-core"
version = "3.9.0-beta.6"
edition = "2021"

links = "c2a-core"

description = "Core of Command Centric Architecture"
readme = "README.md"
license = "MIT"
Expand Down
2 changes: 2 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ use semver::Version;
use clang::{token::TokenKind::Punctuation, Clang, Index};

fn main() {
println!("cargo:source_dir={}", env!("CARGO_MANIFEST_DIR"));

let ver = env!("CARGO_PKG_VERSION");
let ver = Version::parse(ver).unwrap();
dbg!(&ver);
Expand Down

0 comments on commit db74c28

Please sign in to comment.