Skip to content

Commit 31d165a

Browse files
committed
Update readme.
1 parent 22f9e65 commit 31d165a

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# CMake generated build files
2-
/cmake-build-*/
2+
/cmake-build*/
33

44
# Ignore generated projects
55
build/

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This option has longer build times but you can easily modify the engine.
1717
```
1818
cd path/to/project
1919
cmake . ./cmake-build
20-
cmake --build ./cmake-build -j12
20+
cmake --build ./cmake-build -j12 -DCMAKE_PREFIX_PATH=../rbfx/CMake
2121
```
2222

2323
## Building the Project with pre-built Framework SDK
@@ -26,11 +26,14 @@ This option has shorter build times but you have to use pre-built version of the
2626

2727
1. Download [pre-built SDK of the Framework](https://github.com/rbfx/rbfx/releases/tag/latest) for your platform and compiler anywhere.
2828
2. Checkout this repository anywhere.
29-
3. Configure and build it via CMake. Variable `REBELFORK_SDK` should be set to the folder `SDK` from within the zip archive. Example:
29+
3. Configure and build it via CMake. Variable `CMAKE_PREFIX_PATH` should be set to the folder `SDK` from within the zip archive. Example:
3030

3131
```
3232
cd path/to/project
33-
cmake . ./cmake-build -DBUILD_SHARED_LIBS=ON -DREBELFORK_SDK=path/to/prebuilt/SDK
33+
# Windows:
34+
cmake . ./cmake-build -DBUILD_SHARED_LIBS=ON -DCMAKE_PREFIX_PATH=path/to/prebuilt/SDK/share
35+
# Unix:
36+
cmake . ./cmake-build -DBUILD_SHARED_LIBS=ON -DCMAKE_PREFIX_PATH=path/to/prebuilt/SDK
3437
cmake --build ./cmake-build -j12
3538
```
3639

0 commit comments

Comments
 (0)