[cmake] Refactor root cmake

Moved options to OmimOptions.cmake
Moved some parts of configuration to OmimConfig.cmake
Removed disable color output option
Renamed DISABLE_UNITY to CMAKE_UNITY_BUILD
Renamed DIABLE_CCACHE to USE_CCACHE

Signed-off-by: Andrei Shkrob <andrei@shkrob.dev>
This commit is contained in:
Andrei Shkrob
2025-05-21 21:44:07 +02:00
committed by Konstantin Pastbin
parent c1b45828b0
commit 0996917a1b
8 changed files with 125 additions and 185 deletions

View File

@@ -1,5 +1,3 @@
include(OmimConfig)
# Functions for using in subdirectories
function(omim_add_executable executable)
add_executable(${executable} ${ARGN})