Setup buildsystem for c apps

Added fbcp to repo
Added setup-apps.sh
Disable non runtable apps
This commit is contained in:
Andreas Völker
2018-12-30 12:41:38 +01:00
parent 9283caed3b
commit 2f16ff59b8
8 changed files with 186 additions and 18 deletions

18
setup-apps.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash -e
# Set executable attributes
chmod +x apps/pong.py
chmod +x apps/swifthohenberg.py
chmod +x apps/strobo.py
chmod +x apps/youtubedl.sh
# build c apps
mkdir -p build/c
pushd build/c
cmake ../../apps/c-src
make
popd
mv build/c/fbcp apps/
mv build/c/flicker apps/