mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 07:20:01 +02:00
updated Readme.md
This commit is contained in:
parent
472d96cd94
commit
9371208a2e
19
README.md
19
README.md
@ -31,7 +31,16 @@ Requirements: ROOT
|
|||||||
|
|
||||||
### Compilation
|
### Compilation
|
||||||
|
|
||||||
#### Compile using script cmk.sh
|
After compiling, the libraries and executables will be found at `bin` directory
|
||||||
|
```
|
||||||
|
$ ls bin/
|
||||||
|
gui_client libSlsDetector.a libSlsDetector.so libSlsReceiver.a libSlsReceiver.so
|
||||||
|
sls_detector_acquire sls_detector_get slsDetectorGui sls_detector_help sls_detector_put slsReceiver
|
||||||
|
```
|
||||||
|
|
||||||
|
Compiling can be done in two ways.
|
||||||
|
|
||||||
|
1. Compile using script cmk.sh
|
||||||
Usage: [-c] [-b] [-h] [-d HDF5 directory] [-j]<br>
|
Usage: [-c] [-b] [-h] [-d HDF5 directory] [-j]<br>
|
||||||
* -[no option]: only make<br>
|
* -[no option]: only make<br>
|
||||||
* -c: Clean<br>
|
* -c: Clean<br>
|
||||||
@ -67,7 +76,7 @@ For rebuilding only certain sections<br>
|
|||||||
./cmk.sh -r #only receiver<br>
|
./cmk.sh -r #only receiver<br>
|
||||||
|
|
||||||
|
|
||||||
#### Compile without script
|
2. Compile without script
|
||||||
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 ..
|
||||||
@ -81,9 +90,3 @@ Use the following as an example to compile statically and using specific hdf5 fo
|
|||||||
```
|
```
|
||||||
$ 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 -DUSE_TEXTCLIENT=ON -DUSE_RECEIVER=ON -DUSE_GUI=OFF -DCMAKE_BUILD_TYPE=Debug -DUSE_HDF5=ON
|
||||||
```
|
```
|
||||||
The libraries and executables will be found at `bin` directory
|
|
||||||
```
|
|
||||||
$ ls bin/
|
|
||||||
gui_client libSlsDetector.a libSlsDetector.so libSlsReceiver.a libSlsReceiver.so
|
|
||||||
sls_detector_acquire sls_detector_get slsDetectorGui sls_detector_help sls_detector_put slsReceiver
|
|
||||||
```
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user