File: meson.build

package info (click to toggle)
gimp 3.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 210,368 kB
  • sloc: ansic: 845,152; lisp: 10,855; python: 10,330; cpp: 7,238; perl: 4,382; sh: 1,412; xml: 963; yacc: 609; lex: 348; javascript: 150; makefile: 43
file content (19 lines) | stat: -rw-r--r-- 680 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
subdir('goat-exercises')

if have_lua and not meson.is_cross_build() and is_variable('lua') and lua.found() and (platform_windows or not relocatable_bundle)
  lua_config = configuration_data()
  # For Windows, we set the binary name only.
  # For other OSes, we use the full path (when not in a relocatable
  # bundle).
  if platform_windows
    lua_config.set('LUA_PATH', lua_bin + '.exe')
  else
    lua_config.set('LUA_PATH', lua.full_path())
  endif

  configure_file(input : 'lua.interp.in',
                 output: 'lua.interp',
                 configuration: lua_config,
                 install: true,
                 install_dir: gimpplugindir / 'interpreters')
endif