CMake

if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
include(cmake/macOS/macOSBuild.cmake)
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
include(cmake/win32/Win32Build.cmake)
elseif(UNIX AND NOT APPLE)
include(cmake/linux/LinuxBuild.cmake)
endif()
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
if (POLICY CMP0141)
cmake_policy(SET CMP0141 NEW)
set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT "$<IF:$<AND:$<C_COMPILER_ID:MSVC>,$<CXX_COMPILER_ID:MSVC>>,$<$<CONFIG:Debug,RelWithDebInfo>:EditAndContinue>,$<$<CONFIG:Debug,RelWithDebInfo>:ProgramDatabase>>")
endif()
target_include_directories(${OUTPUT_NAME} PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include")
find_package(PkgConfig REQUIRED)
if(WIN32)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
if(BUILD_AS_PORTABLE)
add_definitions(-DPORTABLE_BUILD)
endif()
endif()
Meson

project(
'myproject',
'c',
meson_version : '>= 1.3.0',
version : '0.1',
default_options : ['warning_level=3'],
)
dependencies = [
]
exe = executable(
'myproject',
'myproject.c',
dependencies : dependencies,
install : true,
)
test('basic', exe)
No this is not biased, you are 

there was a time in my life that involved the hell of a cmake file I neither wrote nor could read and i would not wish that upon anyone.
Linux, or as I have begun to call it,
UNIX AND NOT APPLEcmake: what if everyone spoke in C macros but instead of committing to the natural language bit we created a nightmare that you need a GUI to parse.
Everytime it doesn’t work perfectly the first time, compiling is going to be a nightmare. At least it’s not autohell though