5 Commits

Author SHA1 Message Date
Romain Coltel 6942b5bc11 Update FindRuby.cmake to the latest version 2020-10-23 19:37:55 +02:00
Kevin Gallagher 4596f1719b Add ruby-2.5 to FindRuby.cmake
The module successfully found my Ruby 2.5.3 as-is, but the code in cmake's dev
branch only specifies up to 2.4. Adding as a precaution.

Also enabled _RUBY_DEBUG_OUTPUT for some handy debug output.

Edited the documentation block to not use reStructuredText... The
multi-line comment (beginning w/ '[[' & closing w/ ']]') requires cmake version
3 or greater.

Removed documentation block from FindPackageHandleStandardArgs + FindPackageMessage.
2019-03-13 07:42:26 -07:00
Kevin Gallagher c8467ef85f Update cmake modules from cmake 3.13.4
This handles newer distros with Ruby >1.8, e.g. config.h being at
ruby-2.5.0/config.h rather than ruby/config.h...

Also had to pull in some macros/functions as dependencies.

This is similar to #146 and fixes #148, #149, #150 and #153
2019-03-13 07:08:09 -07:00
Aorimn 11013b491c Add ruby bindings
When ruby is installed on the target machine, compile dislocker to have
bindings to it. This was done in the previous Makefile but not entirely
in the cmakelists toolchain.
2015-06-28 14:37:34 +02:00
Aorimn 221eb8ad1a Add cmake toolchain
We get rid of the former Makefile in favor of the cmake toolchain. This
was currently and successfuly tested on Linux (Fedora 21).
2015-06-28 12:38:02 +02:00