diff options
author | Thomas White <taw@physics.org> | 2020-08-04 17:56:07 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-04 17:56:07 +0200 |
commit | ee5e7f49c4c582651d1c3760f204ac861864c9d5 (patch) | |
tree | 4afd939ebe2a739fd02b183a68803086d655a958 /meson.build | |
parent | f9d454ae2a5c2c3ac2d7fc7161a1f02fc87da612 (diff) |
Convert pattern_sim to DataTemplate
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/meson.build b/meson.build index 99d1949d..46a1ed45 100644 --- a/meson.build +++ b/meson.build @@ -228,14 +228,13 @@ if gtkdep.found() endif # pattern_sim -# FIXME: restore -#pattern_sim_sources = ['src/pattern_sim.c', 'src/diffraction.c', versionc] -#if opencldep.found() -# pattern_sim_sources += ['src/diffraction-gpu.c', 'src/cl-utils.c'] -#endif -#executable('pattern_sim', pattern_sim_sources, -# dependencies : [mdep, libcrystfeldep, gsldep, hdf5dep, opencldep], -# install : true) +pattern_sim_sources = ['src/pattern_sim.c', 'src/diffraction.c', versionc] +if opencldep.found() + pattern_sim_sources += ['src/diffraction-gpu.c', 'src/cl-utils.c'] +endif +executable('pattern_sim', pattern_sim_sources, + dependencies : [mdep, libcrystfeldep, gsldep, hdf5dep, opencldep], + install : true) # ************************ Testing ************************ |