1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:17: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

@ -76,7 +76,6 @@ set(LIBC_SOURCES
wstdio.cpp
)
file(GLOB AK_SOURCES CONFIGURE_DEPENDS "../../../AK/*.cpp")
file(GLOB ELF_SOURCES CONFIGURE_DEPENDS "../LibELF/*.cpp")
if ("${SERENITY_ARCH}" STREQUAL "aarch64")