tibia-rme/cmake/LoggingHelper.cmake
Eduardo Dantas ea6b515552
ci: rework build workflows and vcpkg baseline (#176)
New Features:
- Docker support: new container build and .dockerignore to reduce build-context size.
- Automated vcpkg baseline updater.

CI/CD Improvements:
- Introduces consolidated reusable CI with platform build and Docker workflows.
- Adds cache-cleanup and autofix/format workflows; removes several legacy platform-specific CI files.

Chores:
- Reorganized CMake presets and build configuration; updated build scripts and project metadata.

Style:
- Large-scale formatting/whitespace normalization across many scripts and build files.
2026-05-01 19:45:45 -03:00

27 lines
714 B
CMake

function(log_info MSG)
message(STATUS "${MsgOk}${MSG}${MsgClr}")
endfunction()
function(log_war MSG)
message(STATUS "${MsgWar}${MSG}${MsgClr}")
endfunction()
function(log_err MSG)
message(SEND_ERROR "${MsgErr}${MSG}${MsgClr}")
endfunction()
function(log_fatal MSG)
message(FATAL_ERROR "${MsgErr}${MSG}${MsgClr}")
endfunction()
function(log_option_enabled OPTION)
message(STATUS "${MsgBold}Enabled:${MsgClr} ${MsgOk}${OPTION}${MsgClr}")
endfunction()
function(log_option_disabled OPTION)
message(STATUS "${MsgBold}Disabled:${MsgClr} ${MsgWar}${OPTION}${MsgClr}")
endfunction()
function(log_program_missing PROGRAM)
message(SEND_ERROR "${MsgErr}Unable to find ${PROGRAM}${MsgClr}")
endfunction()