summaryrefslogtreecommitdiff
path: root/library/CMakeLists.txt
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-05-04 19:47:18 +0400
committerAlexander Gavrilov2012-05-04 19:47:18 +0400
commitd4d6349f48d01b31f59f94238d6656e3b5d08508 (patch)
tree43e47bbb5bab970825ff217ddbc16e21a3711033 /library/CMakeLists.txt
parent5afe2ca0020404d46ad3de840030a7b9e186b059 (diff)
downloaddfhack-d4d6349f48d01b31f59f94238d6656e3b5d08508.tar.gz
dfhack-d4d6349f48d01b31f59f94238d6656e3b5d08508.tar.bz2
dfhack-d4d6349f48d01b31f59f94238d6656e3b5d08508.tar.xz
Expose builtin commands to dfhack-run, and add lua script support.
Move builtin command implementation to Core methods, and fall back to hack/scripts/*.lua for otherwise unrecognized commands.
Diffstat (limited to 'library/CMakeLists.txt')
-rw-r--r--library/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt
index c052df9c..466175ed 100644
--- a/library/CMakeLists.txt
+++ b/library/CMakeLists.txt
@@ -300,6 +300,9 @@ install(DIRECTORY lua/
DESTINATION ${DFHACK_LUA_DESTINATION}
FILES_MATCHING PATTERN "*.lua")
+install(DIRECTORY ${dfhack_SOURCE_DIR}/scripts
+ DESTINATION ${DFHACK_DATA_DESTINATION})
+
# Unused for so long that it's not even relevant now...
if(BUILD_DEVEL)
if(WIN32)