Skip to content

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.

3 participants