File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# CMake generated build files
2- /cmake-build- * /
2+ /cmake-build * /
33
44# Ignore generated projects
55build /
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ This option has longer build times but you can easily modify the engine.
1717```
1818cd path/to/project
1919cmake . ./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
27271 . Download [ pre-built SDK of the Framework] ( https://github.com/rbfx/rbfx/releases/tag/latest ) for your platform and compiler anywhere.
28282 . 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```
3232cd 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
3437cmake --build ./cmake-build -j12
3538```
3639
You can’t perform that action at this time.
0 commit comments