Fixes and enhancements to CMake build system

Updated compatibility level to 3.19. Set C++17 globally for all platforms. Removed hardcoded compiler and optimisation flags. Adjusted dependencies and libraries linking.

Reworked script building and hog creation.
This commit is contained in:
Azamat H. Hackimov
2024-04-18 03:02:08 +03:00
parent 84c04ebf13
commit 3f7666eaac
4 changed files with 35 additions and 54 deletions

View File

@@ -34,9 +34,7 @@ jobs:
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install -y --no-install-recommends \
make cmake g++ libsdl1.2-dev libsdl-image1.2-dev \
libaudio-dev libaa1-dev libdirectfb-dev \
libncurses-dev \
make cmake g++ libsdl1.2-dev libsdl-image1.2-dev libncurses-dev \
libxext6:i386 # for ./scripts/hogutils/hogUtils-i686 binary
mkdir ~/Descent3