mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-10 00:52:11 +01:00
17 lines
450 B
Python
17 lines
450 B
Python
#!/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])
|
|
|