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 () { build () {
cd "$srcdir/$pkgname-git" cd "$srcdir/$pkgname-git"
cmake . cmake -DCMAKE_BUILD_TYPE=Release .
make 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. 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
@endcode @endcode
to build the doxygen documentation. to build the doxygen documentation.
@subsection arch-makepkg Archlinux Package @subsection arch-makepkg Archlinux Package