TextureTaffy/Source/meson.build

29 lines
897 B
Meson
Raw Normal View History

2023-04-28 15:47:06 +03:00
sources = files([
'createdfd.cpp',
'HalfFloat.cpp',
'Main.cpp',
'stb_image_resize.cpp',
'stb_image.cpp',
'vk2dfd.cpp'
])
incdirs = include_directories([
])
dependencies = [
2023-05-01 22:56:46 +03:00
dependency('threads'),
2023-04-28 19:09:20 +03:00
dependency('vulkan')
2023-04-28 15:47:06 +03:00
]
ispc_kernel = custom_target('ipsc_kernel', input: ['ispc_texcomp/kernel.ispc'], output: ['kernel_ispc.o', 'kernel_ispc_avx2.o', 'kernel_ispc_sse4.o', 'kernel_ispc.h'], command: ['ispc', '-O3', '--arch=x86_64', '--target=sse4,avx2', '--opt=fast-math', '--pic', '@INPUT@', '-h', '@OUTDIR@/kernel_ispc.h', '-o', '@OUTPUT0@'])
ispc_sources = [
ispc_kernel,
'ispc_texcomp/ispc_texcomp.cpp',
'ispc_texcomp/ispc_texcomp.h'
]
ispc_texcomp = static_library('ispc_texcomp', ispc_sources)
2023-05-01 22:56:46 +03:00
executable('TextureTaffy', sources, dependencies: dependencies, include_directories: incdirs, install: true, install_dir: '', install_tag: 'exe', link_with: ispc_texcomp)