summaryrefslogtreecommitdiff
path: root/Servers/WindowServer/install.sh
diff options
context:
space:
mode:
authorRobin Burchell <robin+git@viroteck.net>2019-05-17 20:40:38 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-05-17 21:59:48 +0200
commit5babcac289d04a3c2f627dbbbd3e62718d3f98f3 (patch)
tree01b0b33edf0a1dcd4cbf239d3b70b74d0a5b5436 /Servers/WindowServer/install.sh
parent2d98f4e28f7e86feea595ef5e4ff8b32037b64e9 (diff)
downloadserenity-5babcac289d04a3c2f627dbbbd3e62718d3f98f3.zip
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
Diffstat (limited to 'Servers/WindowServer/install.sh')
-rwxr-xr-xServers/WindowServer/install.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/Servers/WindowServer/install.sh b/Servers/WindowServer/install.sh
new file mode 100755
index 0000000000..27a3a583be
--- /dev/null
+++ b/Servers/WindowServer/install.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+mkdir -p ../../Root/usr/include/WindowServer/
+cp *.h ../../Root/usr/include/WindowServer/