+compiler_flags = ['-DLOT_BUILD']
+
cc = meson.get_compiler('cpp')
-compiler_flags = []
if (cc.get_id() != 'msvc')
- compiler_flags = ['-fno-exceptions', '-fno-rtti',
- '-fno-unwind-tables' , '-fno-asynchronous-unwind-tables',
- '-Woverloaded-virtual', '-Wno-unused-parameter']
+ compiler_flags += ['-fno-exceptions', '-fno-rtti',
+ '-fno-unwind-tables' , '-fno-asynchronous-unwind-tables',
+ '-Woverloaded-virtual', '-Wno-unused-parameter']
endif
subdir('vector')
subdir('lottie')
subdir('binding')
-compiler_flags += ['-DLOT_BUILD=1']
-
rlottie_lib_dep = [ vector_dep, lottie_dep, binding_dep, dependency('threads')]
rlottie_lib = shared_library('rlottie',
source_file = ['stb_image.cpp']
-compiler_flags = ['-DLOT_BUILD=1']
-
if get_option('module') == true
rlottie_image_loader_lib = shared_library('rlottie-image-loader',
source_file,