rcpp_framework/modules/image_png/SCsub

17 lines
450 B
Plaintext
Raw Normal View History

2022-02-15 18:11:41 +01:00
#!/usr/bin/env python
Import("env_mod")
Import("env")
env_mod.core_sources = []
env_mod.Append(CPPDEFINES=[("PNG_ARM_NEON_OPT", 0)])
env_mod.add_source_files(env_mod.core_sources, "libpng/*.c")
env_mod.add_source_files(env_mod.core_sources, "png_driver_common.cpp")
env_mod.add_source_files(env_mod.core_sources, "png_loader.cpp")
# Build it all as a library
lib = env_mod.add_library("module_png", env_mod.core_sources)
env.Prepend(LIBS=[lib])