diff options
| author | Jon <[email protected]> | 2012-05-02 20:46:09 -0400 |
|---|---|---|
| committer | Jon <[email protected]> | 2012-05-22 10:50:28 -0400 |
| commit | 9f89da6eef2c830db6fc3abb08fe755ae7ce9b6c (patch) | |
| tree | d1feb367d93853b5f05ce2bbed2171a561631b31 /tools/mirb | |
| parent | b5dcb7128d7d235b66b4d9be879d26364dd1e3e9 (diff) | |
| download | mruby-9f89da6eef2c830db6fc3abb08fe755ae7ce9b6c.tar.gz mruby-9f89da6eef2c830db6fc3abb08fe755ae7ce9b6c.zip | |
Add native and cross compiling CMake build support
Diffstat (limited to 'tools/mirb')
| -rw-r--r-- | tools/mirb/CMakeLists.txt | 9 |
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 |
