mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
CMake is de facto the industrie standard for building C/C++ Code. It is cross platform, supports presets and packaging for Linux Distributions can be made with CPack. This also eliminates the dependency to build and patch premake. Furthermore a lot of IDE's are supported. Add a BuildFlags CMake module with an INTERFACE library encapsulating relevant build Flags and definitions. To provide support for multi configuration generators use generator expressions as much as possible. Add a (currently) empty 0ad-Functions module for later usage.
3 lines
No EOL
72 B
CMake
3 lines
No EOL
72 B
CMake
cmake_minimum_required(VERSION 3.25.1...4.0.0)
|
|
|
|
# 0AD Specific Functions |