diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2024-06-05 00:01:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-05 00:01:19 +0300 |
commit | 560c032a4b806677926063698a9239f21b92005b (patch) | |
tree | a829c1bdf9240ebc43fb02ebb57f7fc325f02e9e /unittests/machinefiles/constant2.txt | |
parent | 3efec185acd5d536d8fd71d8dffb128bb631ef70 (diff) | |
parent | 41a445c2284dcdd1c209fe618ea6b7ac1f117378 (diff) | |
download | meson-560c032a4b806677926063698a9239f21b92005b.zip meson-560c032a4b806677926063698a9239f21b92005b.tar.gz meson-560c032a4b806677926063698a9239f21b92005b.tar.bz2 |
Merge pull request #13286 from mesonbuild/machinerefactor
Extract MachineFile code to its own file
Diffstat (limited to 'unittests/machinefiles/constant2.txt')
-rw-r--r-- | unittests/machinefiles/constant2.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/unittests/machinefiles/constant2.txt b/unittests/machinefiles/constant2.txt new file mode 100644 index 0000000..226dcc8 --- /dev/null +++ b/unittests/machinefiles/constant2.txt @@ -0,0 +1,13 @@ +[constants] +toolchain = '/toolchain/' +common_flags = ['--sysroot=' + toolchain / 'sysroot'] + +[properties] +c_args = common_flags + ['-DSOMETHING'] +cpp_args = c_args + ['-DSOMETHING_ELSE'] +rel_to_src = '@GLOBAL_SOURCE_ROOT@' / 'tool' +rel_to_file = '@DIRNAME@' / 'tool' +no_escaping = '@@DIRNAME@@' / 'tool' + +[binaries] +c = toolchain / compiler |