Skip to content

Commit

Permalink
Updated Readme with more explicit build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
dougbinks committed Jul 20, 2021
1 parent e0a0e81 commit 7e9a83a
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 7e9a83a

Please sign in to comment.