diff options
| author | Beoran <[email protected]> | 2012-05-01 20:13:09 +0200 |
|---|---|---|
| committer | Jon <[email protected]> | 2012-05-22 09:11:13 -0400 |
| commit | b5dcb7128d7d235b66b4d9be879d26364dd1e3e9 (patch) | |
| tree | c58c7ccfa87d4cdd9c9f8a503356f5e2d142ea16 /tools | |
| parent | abacbf667241ff4919b14007ef1a704f321de96d (diff) | |
| download | mruby-b5dcb7128d7d235b66b4d9be879d26364dd1e3e9.tar.gz mruby-b5dcb7128d7d235b66b4d9be879d26364dd1e3e9.zip | |
First cmake build system. Works on Linux.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/mrbc/CMakeLists.txt | 7 | ||||
| -rw-r--r-- | tools/mrbc/Makefile.orig (renamed from tools/mrbc/Makefile) | 0 | ||||
| -rw-r--r-- | tools/mruby/CMakeLists.txt | 7 | ||||
| -rw-r--r-- | tools/mruby/Makefile.orig (renamed from tools/mruby/Makefile) | 0 |
4 files changed, 14 insertions, 0 deletions
diff --git a/tools/mrbc/CMakeLists.txt b/tools/mrbc/CMakeLists.txt new file mode 100644 index 000000000..073ac1743 --- /dev/null +++ b/tools/mrbc/CMakeLists.txt @@ -0,0 +1,7 @@ +# builds tools/mrbc +file(GLOB MRBC_SRC_C "*.c") +add_executable(mrbc ${MRBC_SRC_C}) +target_link_libraries(mrbc ritevm_static ${MRUBY_LIBS}) +install(TARGETS mrbc RUNTIME DESTINATION bin) + + diff --git a/tools/mrbc/Makefile b/tools/mrbc/Makefile.orig index 9ecda4a59..9ecda4a59 100644 --- a/tools/mrbc/Makefile +++ b/tools/mrbc/Makefile.orig diff --git a/tools/mruby/CMakeLists.txt b/tools/mruby/CMakeLists.txt new file mode 100644 index 000000000..ab0e3acc1 --- /dev/null +++ b/tools/mruby/CMakeLists.txt @@ -0,0 +1,7 @@ +# builds tools/mrbc +file(GLOB MRUBYBIN_SRC_C "*.c") +add_executable(mruby ${MRUBYBIN_SRC_C}) +target_link_libraries(mruby mrubylib_static ${MRUBY_LIBS}) +install(TARGETS mruby RUNTIME DESTINATION bin) + + diff --git a/tools/mruby/Makefile b/tools/mruby/Makefile.orig index 052aa93d6..052aa93d6 100644 --- a/tools/mruby/Makefile +++ b/tools/mruby/Makefile.orig |
