summaryrefslogtreecommitdiffhomepage
path: root/tools/mirb/CMakeLists.txt
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-05-23 02:20:13 +0900
committerYukihiro Matsumoto <[email protected]>2012-05-23 02:20:13 +0900
commitdf25301d8081b9351d8a2a9910c2f1d36de3f134 (patch)
tree4f9cb83bab56b02a41a6139c8d23d7b071529845 /tools/mirb/CMakeLists.txt
parentf44acf7bf87c8f4ad258a41bb7884c1f09a8aab9 (diff)
parent0dc183b8f473e1398b1aeada9a39d96ad4d81518 (diff)
downloadmruby-df25301d8081b9351d8a2a9910c2f1d36de3f134.tar.gz
mruby-df25301d8081b9351d8a2a9910c2f1d36de3f134.zip
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'tools/mirb/CMakeLists.txt')
-rw-r--r--tools/mirb/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/mirb/CMakeLists.txt b/tools/mirb/CMakeLists.txt
new file mode 100644
index 000000000..a9f52db1f
--- /dev/null
+++ b/tools/mirb/CMakeLists.txt
@@ -0,0 +1,9 @@
+# build tools/mirb executable
+
+file(GLOB MIRBBIN_SRC_C "*.c")
+add_executable(mirb ${MIRBBIN_SRC_C})
+target_link_libraries(mirb libmruby_static ${MRUBY_LIBS})
+
+install(TARGETS mirb RUNTIME DESTINATION bin)
+
+# vim: ts=2 sts=2 sw=2 et