
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
4 lines
81 B
Bash
Executable file
4 lines
81 B
Bash
Executable file
#!/bin/sh
|
|
|
|
mkdir -p ../Root/usr/include/AK/
|
|
cp ../AK/*.h ../Root/usr/include/AK/
|