Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meson #108

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Meson #108

wants to merge 14 commits into from

Conversation

isovic
Copy link
Owner

@isovic isovic commented Mar 24, 2019

This PR adds the Meson build support to the project, and also extends the version number with the exact commit ID, which should help reproducibility.


# Google test.
gtest_dep = dependency('gtest', main : true, required : false)
if not gtest_dep.found()
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Meson supports has a GTest wrapDB?

# Configuring headers #
#######################
racon_version_commit = 'unknown'
git_command = find_program('git', required: false)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have you tried vcs_tag?

if not meson.is_subproject()
racon_bin = executable(
'racon',
['src/main.cpp'],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

files(['src/main.cpp']) (does an implicit check whether the file exists)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants