node = find_program('node', required: true) snapshot_h = custom_target( 'snapshot', input: core_files, output: 'snapshot_data.h', command: [ node, src_root / 'src' / 'tools' / 'gen_snapshot.js', '@INPUT0@', '@OUTPUT@', 'VERSION=' + ant_version, 'GIT_HASH=' + git_hash, 'BUILD_TIMESTAMP=' + timestamp, 'TARGET=' + target_triple, 'MBEDTLS=' + (tls_lib == 'mbedtls').to_string(), 'HOST=' + host_machine.system(), ], )