mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
updated Readme.md
This commit is contained in:
@ -72,19 +72,19 @@ For rebuilding only certain sections<br>
|
|||||||
./cmk.sh -r #only receiver<br>
|
./cmk.sh -r #only receiver<br>
|
||||||
|
|
||||||
|
|
||||||
**2. Compile without script**
|
**2. Compile without script**<br>
|
||||||
Use cmake to create out-of-source builds, by creating a build folder parallel to source directory.
|
Use cmake to create out-of-source builds, by creating a build folder parallel to source directory.
|
||||||
```
|
```
|
||||||
$ cd ..
|
$ cd ..
|
||||||
$ mkdir slsDetectorPackage-build
|
$ mkdir slsDetectorPackage-build
|
||||||
$ cd slsDetectorPackage-build
|
$ cd slsDetectorPackage-build
|
||||||
$ cmake ../slsDetectorPackage -DUSE_TEXTCLIENT=ON -DUSE_RECEIVER=ON -DUSE_GUI=OFF -DCMAKE_BUILD_TYPE=Debug -DUSE_HDF5=OFF
|
$ cmake ../slsDetectorPackage -DCMAKE_BUILD_TYPE=Debug -DUSE_HDF5=OFF
|
||||||
$ make
|
$ make
|
||||||
```
|
```
|
||||||
|
|
||||||
Use the following as an example to compile statically and using specific hdf5 folder
|
Use the following as an example to compile statically and using specific hdf5 folder
|
||||||
```
|
```
|
||||||
$ HDF5_ROOT=/opt/hdf5v1.10.0 cmake ../slsDetectorPackage -DUSE_TEXTCLIENT=ON -DUSE_RECEIVER=ON -DUSE_GUI=OFF -DCMAKE_BUILD_TYPE=Debug -DUSE_HDF5=ON
|
$ HDF5_ROOT=/opt/hdf5v1.10.0 cmake ../slsDetectorPackage -DCMAKE_BUILD_TYPE=Debug -DUSE_HDF5=ON
|
||||||
```
|
```
|
||||||
After compiling, the libraries and executables will be found at `bin` directory
|
After compiling, the libraries and executables will be found at `bin` directory
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user