1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 16:47:45 +00:00

CMake: Decouple cmake utility functions from top-level CMakeLists.txt

Problem:
- These utility functions are only used in `AK`, but are being defined
  in the top-level. This clutters the top-level.

Solution:
- Move the utility functions to `Meta/CMake/utils.cmake` and include
  where needed.
- Also, move `all_the_debug_macros.cmake` into `Meta/CMake` directory
  to consolidate the location of `*.cmake` script files.
This commit is contained in:
Lenny Maiorani 2020-12-23 10:07:22 -07:00 committed by Andreas Kling
parent 6db224f020
commit e4ce485309
5 changed files with 133 additions and 133 deletions

View file

@ -1,2 +1,3 @@
include(${CMAKE_SOURCE_DIR}/Meta/CMake/utils.cmake)
serenity_install_headers(AK)
serenity_install_sources(AK)