ladybird/LibCore/install.sh
Robin Burchell 5babcac289 Build: Install most headers to Root (and libcore.a/libgui.a)
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
2019-05-17 21:59:48 +02:00

6 lines
115 B
Bash
Executable File

#!/bin/sh
mkdir -p ../Root/usr/include/LibCore/
cp *.h ../Root/usr/include/LibCore/
cp libcore.a ../Root/usr/lib/