mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
5babcac289
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
5 lines
115 B
Bash
Executable file
5 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/
|