summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2020-06-21Build: Support GENERATED_SOURCES in serenity_{bin,libc}() as wellLinus Groh
2020-06-21Build: rename `image` target => `qemu-image`Emanuele Torre
Also add a new `image` target which is just an alias to `qemu-image`. This makes the CMakeLists.txt file more readable in my opinion.
2020-06-21Meta: get rid of sync.sh using the technique used in the previous commitEmanuele Torre
2020-06-19CMake: Make the install step more zenNico Weber
The "Installing $foo..." messages are just noise, so turn them off.
2020-06-06cmake: Make setting CMAKE_BUILD_TYPE an error.Nico Weber
I tried setting it to Release, then noticed that it didn't build due to gcc's optimizer-level dependent warnings and -Werror, then started fixing the warnings for a bit (all false positives), then looked at the global CMakeLists.txt and realized that the default build is aleady using compiler optimizations. It looks like people aren't supposed to change this, so make that explicit to be friendly to people familiar with cmake but new to serenity.
2020-05-29Ports: Fix CMake-based portsPaul Redmond
The SDL port failed to build because the CMake toolchain filed pointed to the old root. Now the toolchain file assumes that the Root is in Build/Root. Additionally, the AK/ and Kernel/ headers need to be installed in the root too.
2020-05-29CMake: Add convenience targets to run lint-shell-scripts and check-styleEmanuele Torre
2020-05-28Build: Use a separate byproduct name for the GRUB disk image (#2424)etaIneLp
The grub-image target no longer conflicts with normal image target. This unbreaks using CMake with Ninja. Fixes #2423.
2020-05-28Build: Add grub-image target to CMakeetaIneLp
2020-05-20Revert "Build: Include headers from LibC, LibM, and LibPthread with -isystem"Andreas Kling
This reverts commit c1eb744ff0a82cf6c8e3470ac10e2f417c7d9de2.
2020-05-20Build: Include headers from LibC, LibM, and LibPthread with -isystemAndrew Kaster
Make sure that userspace is always referencing "system" headers in a way that would build on target :). This means removing the explicit include_directories of Libraries/LibC in favor of having it export its headers as SYSTEM. Also remove a redundant include_directories of Libraries in the 'serenity build' part of the build script. It's already set at the top. This causes issues for the Kernel, and for crt0.o. These special cases are handled individually.
2020-05-16Build: Use -Wno-expansion-to-definedDominik Madarasz
2020-05-16Build: Remove -Wno-volatile flagAndreas Kling
I've fixed all the warnings about invalid use of the "volatile" keyword so it should be fine to enable this now.
2020-05-16AK: Remove experimental clang -Wconsumed stuffAndreas Kling
This stopped working quite some time ago due to Clang losing track of typestates for some reason and everything becoming "unknown". Since we're primarily using GCC anyway, it doesn't seem worth it to try and maintain this non-working experiment for a secondary compiler. Also it doesn't look like the Clang team is actively maintaining this flag anyway. So good-bye, -Wconsumed. :/
2020-05-16Build: Disable deprecated volatile warningShannon Booth
We will probably need to fix this at some stage, but for now let's just disable the warning.
2020-05-15Build: Ask GCC to always emit colorful diagnosticsSergey Bugaev
2020-05-15Build: Allow using CMake 3.16Sergey Bugaev
Because apparently that's what a lot of people have, and they report it works fine.
2020-05-14Build: Switch to CMake :^)Sergey Bugaev
Closes https://github.com/SerenityOS/serenity/issues/2080