Skip to content

Commit b0c1af6

Browse files
authored
Update README.md
1 parent 7af0ec7 commit b0c1af6

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ configure CMake and start the build.
4646
Nota: second `make` statement can also name a specific target. Examples:
4747
`make luxcore` `make pyluxcore` `make luxcoreconsole` `make luxcoreui`
4848

49+
#### Build type
50+
51+
Build type can be controlled by environment variable `LUX_BUILD_TYPE`.
52+
Available build types are `Release` and `Debug` (case sensitive). Default is `Release`.
53+
4954
#### Other commands
5055

5156
- `make clean`: clean build tree (delete intermediate files)
@@ -70,17 +75,17 @@ the [`samples/luxcoreui`](samples/luxcoreui) directory.
7075
To see how it works, just run `luxcoreui` from the root directory:
7176

7277
```
73-
./out/install/bin/luxcoreui scenes/cornell/cornell.cfg
78+
./out/install/Release/bin/luxcoreui scenes/cornell/cornell.cfg
7479
```
75-
80+
(assuming you selected Release as a build type)
7681
### LuxCoreConsole
7782

7883
This is a simple example of a command line renderer written using LuxCore API and it is
7984
available in the [`samples/luxcoreconsole`](samples/luxcoreconsole) directory.
8085
Just run `luxcoreconsole` from the root directory with:
8186

8287
```
83-
./out/install/bin/luxcoreconsole -D batch.halttime 10 scenes/cornell/cornell.cfg
88+
./out/install/Release/bin/luxcoreconsole -D batch.halttime 10 scenes/cornell/cornell.cfg
8489
```
8590

8691
### Authors

0 commit comments

Comments
 (0)