Skip to content
Snippets Groups Projects
Commit a8cdee86 authored by schneider's avatar schneider
Browse files

feat(png): add lodepng library

parent 983d8136
No related branches found
No related tags found
No related merge requests found
...@@ -10,3 +10,6 @@ ...@@ -10,3 +10,6 @@
[submodule "lib/crypto/SHA256"] [submodule "lib/crypto/SHA256"]
path = lib/crypto/SHA256 path = lib/crypto/SHA256
url = https://github.com/ilvn/SHA256 url = https://github.com/ilvn/SHA256
[submodule "lib/lodepng/lodepng"]
path = lib/lodepng/lodepng
url = https://github.com/lvandeve/lodepng
Subproject commit 7fdcc96a5e5864eee72911c3ca79b1d9f0d12292
lodepng/lodepng.cpp
\ No newline at end of file
includes = include_directories(
'./lodepng',
)
sources = files(
'./lodepng.c',
)
lib = static_library(
'lodepng',
sources,
include_directories: includes,
c_args: ['-O3', '-w', '-DLODEPNG_NO_COMPILE_ENCODER', '-DLODEPNG_NO_COMPILE_DISK', '-DLODEPNG_NO_COMPILE_ALLOCATORS'],
)
lodepng = declare_dependency(
include_directories: includes,
link_with: lib,
)
...@@ -17,3 +17,4 @@ subdir('./crypto/') ...@@ -17,3 +17,4 @@ subdir('./crypto/')
subdir('./card10/') subdir('./card10/')
subdir('./mx25lba/') subdir('./mx25lba/')
subdir('./ff13/') subdir('./ff13/')
subdir('./lodepng/')
...@@ -41,6 +41,7 @@ formatter_blacklist=( ...@@ -41,6 +41,7 @@ formatter_blacklist=(
lib/ff13/ lib/ff13/
lib/FreeRTOS/ lib/FreeRTOS/
lib/FreeRTOS-Plus/ lib/FreeRTOS-Plus/
lib/lodepng/
lib/micropython/ lib/micropython/
lib/mx25lba/ lib/mx25lba/
lib/sdk/ lib/sdk/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment