Skip to content

Commit 7e9a83a

Browse files
authored
Updated Readme with more explicit build instructions
1 parent e0a0e81 commit 7e9a83a

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,24 @@ For further examples, see https://github.com/dougbinks/enkiTSExamples
3434

3535
## Building
3636

37-
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.
37+
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.
38+
39+
For C++
40+
41+
- Use `#include "TaskScheduler.h"`
42+
- Add enkiTS/src to your include path
43+
- Compile / Add to project:
44+
- `TaskScheduler.cpp`
45+
- Unix / Linux builds will likely require the pthreads library.
46+
47+
For C
48+
49+
- Use `#include "TaskScheduler_c.h"`
50+
- Add enkiTS/src to your include path
51+
- Compile / Add to project:
52+
- `TaskScheduler.cpp`
53+
- `TaskScheduler_c.cpp`
54+
- Unix / Linux builds will likely require the pthreads library.
3855

3956
For cmake, on Windows / Mac OS X / Linux with cmake installed, open a prompt in the enkiTS directory and:
4057

0 commit comments

Comments
 (0)