Commit 64c37158 authored by Mart Lubbers's avatar Mart Lubbers

build instructions

parent 91ea6903
Pipeline #14906 passed with stage
in 1 minute and 42 seconds
client: builds:
image: camilstaps/clean:nightly image: camilstaps/clean:nightly
script: script:
- apt-get update -qq - apt-get update -qq
- apt-get install -yy build-essential gcc-mingw-w64 zip - apt-get install -yy build-essential gcc-mingw-w64 zip
- install_clean.sh clean-base - install_clean.sh clean-base
- sh mkpkgs.sh - sh mkpkgs.sh
artifacts:
paths:
- "*.tar.gz"
- "*.zip"
...@@ -19,7 +19,9 @@ Monitor.prj: ...@@ -19,7 +19,9 @@ Monitor.prj:
cpm project $@ set -h 2000m -s 20m -dynamics cpm project $@ set -h 2000m -s 20m -dynamics
cpm project $@ path add "$$PWD/POSIX" cpm project $@ path add "$$PWD/POSIX"
cross: install: Clean\ System\ Files/ctty.o
mkdir "$$CLEAN_HOME/lib/CleanSerial"
cp -R TTY.[id]cl iTasksTTY.[id]cl POSIX/Platform.[id]cl Clean\ System\ Files "$$CLEAN_HOME/lib/CleanSerial"
clean: clean:
$(RM) -r $(DETECTED_OS)/Clean\ System\ Files/* Clean\ System\ Files/* test $(RM) -r $(DETECTED_OS)/Clean\ System\ Files/* Clean\ System\ Files/* test
...@@ -2,9 +2,23 @@ ...@@ -2,9 +2,23 @@
Serial port library for [clean](http://clean.cs.ru.nl). Build with `make`. Serial port library for [clean](http://clean.cs.ru.nl). Build with `make`.
Tested on Linux and Mac ## How to use
TODO
## Builds
Builds are available for Windows and Linux [here]([cpm](https://gitlab.science.ru.nl/mlubbers/CleanSerial/builds/artifacts/master/browse?job=clients)).
Just unzip it in `$CLEAN_HOME/lib` and add the path to your search paths in the
IDE/`cpm` or `clm`.
## Build it yourself
### Linux and mac
Run `make install`.
### Windows
Run `make install` from a mingw msys shell.
Windows support is only available at the moment as a stub. Windows support is only available at the moment as a stub.
The functions are not implemented so it will crash. The functions are not implemented so it will crash.
On windows you need mingw to compile ### Build the windows version on a linux machine
Install `gcc-mingw-w64` and run `DETECTED_OS=Windows CC=x86_64-w64-mingw32-gcc make`
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment