replace-enum-strings.cmake


Log

Author Commit Date CI Message
Ebrahim Byagowi 2af58c35 2020-08-12T00:51:07 Revert "Remove cmake build files" This reverts commit 4e572c940724cdae6f140df924c9ad7f4baea35e.
Ebrahim Byagowi 4e572c94 2020-07-30T16:19:15 Remove cmake build files As discussed in https://github.com/harfbuzz/harfbuzz/pull/2252
Chun-wei Fan 53db2212 2017-10-18T15:43:57 CMake: Support building HarfBuzz-GObject This adds support to the CMake build files to support building HarfBuzz-GObject, which is actually a little bit complicated, as we need to: -Run glib-mkenums, which is a Python (for newer GLib/GObject) or PERL (for older, pre 2.53.4, GLib/GObject) script. This matters more for Visual Studio builds as shebang lines are not supported, so we need to test-run it with PERL or Python to determine which is the correct interpretor to use. -Next, we need to replace strings in the sources that we obtain from running glib-mkenums. So, the solution here is to use a small utility CMake script for our purposes here, to maintain maximum compatibility. -Ensure that things do work in the Visual Studio IDE builds.