Bundle Windows make with C++ example (#84)

pull/311/head
Peter Johnson 2019-02-05 20:37:48 -08:00 committed by GitHub
parent c85fd9f33c
commit 6ad1d2eb92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -16,10 +16,9 @@ Building on desktop
One time setup
--------------
Install the Raspbian compiler [1] as well as GNU make [2].
Install the Raspbian compiler [1] and put it on your PATH.
[1]: https://github.com/wpilibsuite/raspbian-toolchain/releases
[2]: (windows) http://gnuwin32.sourceforge.net/packages/make.htm
--------
Building

View File

@ -1,5 +1,7 @@
#!/bin/bash -e
SUB_STAGE_DIR=${PWD}
# enable pi camera
install -m 644 files/picamera.conf "${ROOTFS_DIR}/etc/modules-load.d/"
@ -89,6 +91,9 @@ EOF
sed -e '/^DEPS_/d' cpp-multiCameraServer/Makefile >> cpp-multiCameraServer/Makefile.new
mv cpp-multiCameraServer/Makefile.new cpp-multiCameraServer/Makefile
# add windows make executable
cp "${SUB_STAGE_DIR}/files/make.exe" cpp-multiCameraServer/
zip -r java-multiCameraServer.zip java-multiCameraServer
zip -r cpp-multiCameraServer.zip cpp-multiCameraServer
zip -r python-multiCameraServer.zip python-multiCameraServer

Binary file not shown.