From 8f278fc65a922c6de47f62a95f17630bcec11071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gauthier=20Fleutot=20=C3=96stervall?= Date: Tue, 6 Jul 2021 01:59:13 +0200 Subject: Add build instructions (#68) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add Build Instructions and remove old Makefile. Co-authored-by: Gauthier Östervall --- readme.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 9e5502e..b97e457 100644 --- a/readme.md +++ b/readme.md @@ -13,6 +13,19 @@ The archive will contain two folders: * **bin** - Here you will find the two console applications: ArcWelder and ArcStraightener. Just copy these to your local machine and you can run them from the command line, from a script, or directly within most slicers. See the sections below for instructions on how to use these applications. * **lib** - This folder contains pre-compiled ArcWelder libraries that can be integrated into applications. The GcodeProcessorLib library has functions for parsing gcode, tracking the printer's state and position, as well as several other goodies. The ArcWelder library (requires GcodeProcessorLib) contains the core welding algorithm. +# Building from source + +From the repository root, create a build directory, generate makefile, and build: + +``` +mkdir build +cd build +cmake .. +make +``` + +The resulting console application is located in `build/ArcWelderConsole/`. You might want to create the build directory out of the repository, or make `git` ignore it, to avoid a dirty tree. + # Arc Welder Console Application This is a multiplatform console application that can be used to run the Arc Welder algorithm from a command prompt. Binaries are available for Windows, Linux, Raspbian, and MacOs. See the [installation][#installation] section for information on how to download the console application. -- cgit v1.2.3