1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:27:35 +00:00

AK+Userland: Use a CMake variable for AK_SOURCES instead of GLOB

This lets us remove a glob pattern from LibC, the DynamicLoader, and,
later, Lagom. The Kernel already has its own separate list of AK files
that it wants, which is only a subset of all AK files.
This commit is contained in:
Andrew Kaster 2022-10-13 14:00:59 -06:00 committed by Linus Groh
parent a34f8c444b
commit 1ca48a2aec
3 changed files with 32 additions and 2 deletions

View file

@ -3,7 +3,6 @@ set(LOADER_SOURCES
misc.cpp
)
file(GLOB AK_SOURCES "../../AK/*.cpp")
file(GLOB ELF_SOURCES "../Libraries/LibELF/*.cpp")
file(GLOB LIBC_SOURCES1 "../Libraries/LibC/*.cpp")
file(GLOB LIBC_SOURCES2 "../Libraries/LibC/*/*.cpp")