summaryrefslogtreecommitdiff
path: root/Toolchain/CMakeToolchain.txt
AgeCommit message (Collapse)Author
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.
2019-12-25Toolchain: Fixup CMake toolchain script to install things in /usrAndreas Kling
Also stop clobbering the host's /usr/local/share for DATAROOTDIR.
2019-05-18Toolchain: Add some required options to the default CMake options.Robin Burchell
2019-05-17Build: Install most headers to Root (and libcore.a/libgui.a)Robin Burchell
This makes out-of-tree linking possible. And at the same time, add a CMakeToolchain.txt file that can be used to build arbitrary cmake-using applications on Serenity by pointing to the CMAKE_TOOLCHAIN_FILE when running cmake: -DCMAKE_TOOLCHAIN_FILE=~/code/serenity/Toolchain/CMakeToolchain.txt