0ad/cmake/0ad-Functions.cmake
Cayleb-Ordo dac1036c44 Add Root CMakeLists.txt and custom cmake modules
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.
2026-05-17 18:22:05 +02:00

3 lines
No EOL
72 B
CMake

cmake_minimum_required(VERSION 3.25.1...4.0.0)
# 0AD Specific Functions