summaryrefslogtreecommitdiffhomepage
path: root/tools/mrbc/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mrbc/CMakeLists.txt')
-rw-r--r--tools/mrbc/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/mrbc/CMakeLists.txt b/tools/mrbc/CMakeLists.txt
new file mode 100644
index 000000000..71a3a937d
--- /dev/null
+++ b/tools/mrbc/CMakeLists.txt
@@ -0,0 +1,9 @@
+# build tools/mrbc executable
+
+file(GLOB MRBC_SRC_C "*.c")
+add_executable(mrbc ${MRBC_SRC_C})
+target_link_libraries(mrbc mruby_static ${MRUBY_LIBS})
+
+install(TARGETS mrbc RUNTIME DESTINATION bin)
+
+# vim: ts=2 sts=2 sw=2 et