summaryrefslogtreecommitdiff
path: root/tests/format/option-overrides/project.conf
blob: c9e73a19085d590b7e60301a2edbc902197fb749 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Test case ensuring that we can use options
# in the element overrides.
#
name: test
min-version: 2.0

options:
  arch:
    type: arch
    description: architecture
    values: [i686, x86_64]

elements:
  autotools:
    variables:
      (?):
      - arch == 'i686':
          conf-global: --host=i686-unknown-linux-gnu
      - arch == 'x86_64':
          conf-global: --host=x86_64-unknown-linux-gnu