Changeset 2e2cefdb in mainline for meson.build
- Timestamp:
- 2019-08-17T12:49:43Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d4b30cf
- Parents:
- 45b26114
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-06-30 11:30:52)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
meson.build
r45b26114 r2e2cefdb 176 176 ] 177 177 178 CONFIG_MAKEFILE = files(meson.build_root() / 'Makefile.config') 179 178 180 foreach varname : config_variables 179 result = run_command(grep, '^' + varname + '\\b', meson.source_root() / 'Makefile.config')181 result = run_command(grep, '^' + varname + '\\b', CONFIG_MAKEFILE) 180 182 if result.returncode() != 0 181 183 # TODO: Output negative/inapplicable variables too in config, so that we can check for typos here. … … 220 222 add_project_arguments( 221 223 # TODO: Remove from project arguments and only use where needed. 222 '-imacros', join_paths(meson.source_root(), 'config.h'),224 '-imacros', meson.build_root() / 'config.h', 223 225 language : [ 'c' ], 224 226 ) … … 442 444 443 445 # TODO: remove 444 install_files += [[ 'config', meson. current_source_dir() / 'Makefile.config', 'Makefile.config' ]]445 install_deps += files('Makefile.config')446 install_files += [[ 'config', meson.build_root() / 'Makefile.config', 'Makefile.config' ]] 447 install_deps += CONFIG_MAKEFILE 446 448 447 449 if CONFIG_DEVEL_FILES
Note:
See TracChangeset
for help on using the changeset viewer.