Enable Release build in PKGBUILD and also use this configuration in the compilation guide

This commit is contained in:
Mario Hüttel 2019-08-23 18:19:46 +02:00
parent 5f40f148b6
commit fe98499ce7
2 changed files with 6 additions and 6 deletions

View File

@ -21,7 +21,7 @@ pkgver () {
build () {
cd "$srcdir/$pkgname-git"
cmake .
cmake -DCMAKE_BUILD_TYPE=Release .
make
}

View File

@ -37,21 +37,21 @@ 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.
Execute
@code
cmake <Path to gds-render root>
cmake -DCMAKE_BUILD_TYPE=Release <Path to gds-render root>
@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
make
@endcode
in order to build the program and
to build the program and
@code
make documentation
@endcode
to build the doxygen documentation.
to build the doxygen documentation.
@subsection arch-makepkg Archlinux Package