File: meson.build

package info (click to toggle)
keyman-keyboardprocessor 11.0.101-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 880 kB
  • sloc: cpp: 5,169; python: 545; ansic: 324; makefile: 7
file content (28 lines) | stat: -rw-r--r-- 682 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
20
21
22
23
24
25
26
27
28
# Copyright:    © 2018 SIL International.
# Description:  Cross platform build script to compile libkmnkbp, documentation
#               and tests.
# Create Date:  2 Oct 2018
# Authors:      Tim Eves (TSE)
#

project('keyboardprocessor', 'cpp', 'c',
        version: '11.0.101',
        license: 'MIT',
        default_options : ['buildtype=release',
                           'cpp_std=c++14'])

compiler = meson.get_compiler('cpp')

lib_version = '0.0.0'

if compiler.get_id() == 'msvc'
  add_global_arguments('/source-charset:utf-8', language: ['c', 'cpp'])
endif

py = import('python3')
python = py.find_python()

subdir('doc')
subdir('include')
subdir('src')
subdir('tests')