diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2020-02-06 09:10:01 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2020-07-30 19:34:37 -0700 |
| commit | a6164ca5a81224b7ed672401a47260f498f06e44 (patch) | |
| tree | c79d79a3e701c8ce995bfbd104468e71dd45ce4a /test cases | |
| parent | cc201a539674babf46f726859587afb5ed6a6867 (diff) | |
| download | meson-a6164ca5a81224b7ed672401a47260f498f06e44.tar.gz | |
Allow setting project options from cross or native files
This allows adding a `[project options]` section to a cross or native file
that contains the options defined for a project in it's meson_option.txt
file.
Diffstat (limited to 'test cases')
| -rw-r--r-- | test cases/unit/75 user options for subproject/.gitignore | 1 | ||||
| -rw-r--r-- | test cases/unit/75 user options for subproject/meson.build | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test cases/unit/75 user options for subproject/.gitignore b/test cases/unit/75 user options for subproject/.gitignore new file mode 100644 index 000000000..4976afc58 --- /dev/null +++ b/test cases/unit/75 user options for subproject/.gitignore @@ -0,0 +1 @@ +subprojects/* diff --git a/test cases/unit/75 user options for subproject/meson.build b/test cases/unit/75 user options for subproject/meson.build new file mode 100644 index 000000000..0bc395b4b --- /dev/null +++ b/test cases/unit/75 user options for subproject/meson.build @@ -0,0 +1,3 @@ +project('user option for subproject') + +p = subproject('sub') |
