data/illuminant/meson.build
raw| 1 | generated_spectra = [ |
| 2 | 'CIE-A', |
| 3 | 'CIE-B', |
| 4 | 'CIE-C', |
| 5 | 'CIE-D50', |
| 6 | 'CIE-D55', |
| 7 | 'CIE-D65', |
| 8 | 'CIE-D93', |
| 9 | 'CIE-E', |
| 10 | 'CIE-F10', |
| 11 | 'CIE-F11', |
| 12 | 'CIE-F12', |
| 13 | 'CIE-F1', |
| 14 | 'CIE-F2', |
| 15 | 'CIE-F3', |
| 16 | 'CIE-F4', |
| 17 | 'CIE-F5', |
| 18 | 'CIE-F6', |
| 19 | 'CIE-F7', |
| 20 | 'CIE-F8', |
| 21 | 'CIE-F9', |
| 22 | ] |
| 23 | foreach arg: generated_spectra |
| 24 | custom_target(arg, |
| 25 | input: arg + '.csv', |
| 26 | output: arg + '.sp', |
| 27 | command: [ cd_idt8, 'create-sp', '@OUTPUT@', '@INPUT@', '100.0' ], |
| 28 | install: true, |
| 29 | install_dir: join_paths(datadir, 'colord', 'illuminant') |
| 30 | ) |
| 31 | endforeach |