ladybird/Userland/CMakeLists.txt
Andreas Kling f27eb315fc Build: Build Userland with -O2, Kernel with -Os
For some reason I don't yet understand, building the kernel with -O2
produces a way-too-large kernel on some people's systems.

Since there are some really nice performance benefits from -O2 in
userspace, let's do a compromise and build Userland with -O2 but
put Kernel back into the -Os box for now.
2021-02-24 11:38:52 +01:00

14 lines
325 B
CMake

add_compile_options(-O2)
add_subdirectory(Applications)
add_subdirectory(Demos)
add_subdirectory(DevTools)
add_subdirectory(DynamicLoader)
add_subdirectory(Games)
add_subdirectory(Libraries)
add_subdirectory(MenuApplets)
add_subdirectory(Services)
add_subdirectory(Shell)
add_subdirectory(Tests)
add_subdirectory(Utilities)