diff --git a/azure-pipelines/release.yml b/azure-pipelines/release.yml index 29e22b41..32599534 100644 --- a/azure-pipelines/release.yml +++ b/azure-pipelines/release.yml @@ -55,7 +55,7 @@ stages: steps: - template: steps/build_linux.yml parameters: - build_type: 'Release' + build_type: 'RelWithDebInfo' cmake_flags: '-DCMAKE_DEBUG_INCLUDES_LDFLAGS=ON -DENABLE_CPPUNIT=ON -DDEBUG_COMPILE=ON -DCMAKE_INSTALL_PREFIX=$PWD/staging -DCPACK_GENERATOR="TGZ;DEB"' cmake_commands: '--target package' - task: PublishPipelineArtifact@1 @@ -72,7 +72,7 @@ stages: steps: - template: steps/build_windows.yml parameters: - build_type: 'Release' + build_type: 'RelWithDebInfo' cmake_flags: '' - script: | set PATH=%PATH%;%CD:~0,2%\msys64\usr\bin;%CD:~0,2%\msys64\mingw64\bin" @@ -97,7 +97,7 @@ stages: steps: - template: steps/build_mac_native.yml parameters: - build_type: 'Release' + build_type: 'RelWithDebInfo' cmake_flags: '' - bash: | export PATH="$HOME/.local/bin:/Users/git-bin/gtk/inst/bin:$PATH" diff --git a/readme/LinuxBuild.md b/readme/LinuxBuild.md index 2dd52209..7c11d5b2 100644 --- a/readme/LinuxBuild.md +++ b/readme/LinuxBuild.md @@ -57,6 +57,7 @@ mkdir build cd build cmake .. cmake --build . +# For a faster build, set the flag -DCMAKE_BUILD_TYPE=RelWithDebInfo ``` Use `cmake-gui ..` to graphically configure compilation.