Enable Release build in PKGBUILD and also use this configuration in the compilation guide
This commit is contained in:
parent
b6bf0c30bf
commit
d5dde3658d
@ -21,7 +21,7 @@ pkgver () {
|
|||||||
|
|
||||||
build () {
|
build () {
|
||||||
cd "$srcdir/$pkgname-git"
|
cd "$srcdir/$pkgname-git"
|
||||||
cmake .
|
cmake -DCMAKE_BUILD_TYPE=Release .
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,16 +37,16 @@ Development is done with the following library versions:
|
|||||||
Go to the build directory you want to compile in. This may be the gds-render project root.
|
Go to the build directory you want to compile in. This may be the gds-render project root.
|
||||||
Execute
|
Execute
|
||||||
@code
|
@code
|
||||||
cmake <Path to gds-render root>
|
cmake -DCMAKE_BUILD_TYPE=Release <Path to gds-render root>
|
||||||
@endcode
|
@endcode
|
||||||
|
|
||||||
Cmake will check the dependencies. Once cmake has finished. Type
|
for a build in release configuartion. Use `-DCMAKE_BUILD_TYPE=Debug` for debugging. Cmake will check the dependencies.
|
||||||
|
|
||||||
|
Once cmake has finished, type
|
||||||
@code
|
@code
|
||||||
make
|
make
|
||||||
@endcode
|
@endcode
|
||||||
|
to build the program and
|
||||||
in order to build the program and
|
|
||||||
|
|
||||||
@code
|
@code
|
||||||
make documentation
|
make documentation
|
||||||
|
Loading…
Reference in New Issue
Block a user