summaryrefslogtreecommitdiff
path: root/test cases/frameworks/5 protocol buffers/meson.build
diff options
context:
space:
mode:
authorAlberto Aguirre <alberto.aguirre@canonical.com>2017-04-14 08:18:37 -0500
committerJussi Pakkanen <jpakkane@gmail.com>2017-05-08 20:53:57 +0200
commitccab7d64f474f00e010b2c6601e63d8034c5552a (patch)
tree2007c7528dd669cb70195aa2ec5524cf300b0359 /test cases/frameworks/5 protocol buffers/meson.build
parent1882548f056a49945de2c3b4b7d57d283cecb012 (diff)
downloadmeson-ccab7d64f474f00e010b2c6601e63d8034c5552a.tar.gz
Add support for @CURRENT_SOURCE_DIR@ in generator arguments
Allow users to specify @CURRENT_SOURCE_DIR@ in generator arguments to specify the current target source directory. This is useful when creating protobuf generator objects in sub-directories because protoc will then generate files in the expected location. Fixes #1622. Remove stray semicolon Update documentation
Diffstat (limited to 'test cases/frameworks/5 protocol buffers/meson.build')
-rw-r--r--test cases/frameworks/5 protocol buffers/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/test cases/frameworks/5 protocol buffers/meson.build b/test cases/frameworks/5 protocol buffers/meson.build
index c99e0a85a..58666f9b9 100644
--- a/test cases/frameworks/5 protocol buffers/meson.build
+++ b/test cases/frameworks/5 protocol buffers/meson.build
@@ -16,3 +16,5 @@ generated = gen.process('defs.proto')
e = executable('prog', 'main.cpp', generated,
dependencies : dep)
test('prototest', e)
+
+subdir('asubdir')