From 7e9a83aadd71e76904c63f00e86f02e1198bee74 Mon Sep 17 00:00:00 2001 From: Doug Binks Date: Tue, 20 Jul 2021 11:28:57 +0100 Subject: [PATCH] Updated Readme with more explicit build instructions --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8cb99a65..ebda4843 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,24 @@ For further examples, see https://github.com/dougbinks/enkiTSExamples ## Building -Building enkiTS is simple, just add the files in enkiTS/src to your build system (_c.* files can be ignored if you only need C++ interface), and add enkiTS/src to your include path. Unix / Linux builds will require the pthreads library. +Building enkiTS is simple, just add the files in enkiTS/src to your build system (_c.* files can be ignored if you only need C++ interface), and add enkiTS/src to your include path. Unix / Linux builds will likely require the pthreads library. + +For C++ + + - Use `#include "TaskScheduler.h"` + - Add enkiTS/src to your include path + - Compile / Add to project: + - `TaskScheduler.cpp` + - Unix / Linux builds will likely require the pthreads library. + +For C + + - Use `#include "TaskScheduler_c.h"` + - Add enkiTS/src to your include path + - Compile / Add to project: + - `TaskScheduler.cpp` + - `TaskScheduler_c.cpp` + - Unix / Linux builds will likely require the pthreads library. For cmake, on Windows / Mac OS X / Linux with cmake installed, open a prompt in the enkiTS directory and: