Bundle Windows make with C++ example (#84)
This commit is contained in:
+1
-2
@@ -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
|
||||
|
||||
@@ -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.
Reference in New Issue
Block a user