File: meson.build

package info (click to toggle)
meson-python 0.17.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 1,120 kB
  • sloc: python: 2,788; ansic: 219; makefile: 8
file content (18 lines) | stat: -rw-r--r-- 591 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# SPDX-FileCopyrightText: 2022 The meson-python developers
#
# SPDX-License-Identifier: MIT

project('scipy-like', 'c', 'cython', version: '2.3.4')

# Work around Python bug on mingw-w64, fixed in Python 3.12
# https://github.com/python/cpython/pull/100137
# The same work-around is also included in Meson 1.1.0 and later.
if meson.version().version_compare('< 1.1')
    if host_machine.system() == 'windows' and meson.get_compiler('c').get_id() == 'gcc'
        add_project_arguments('-DMS_WIN64=', language: 'c')
    endif
endif

py = import('python').find_installation()

subdir('mypkg')