about summary refs log tree commit diff
path: root/third_party/nix/src/meson.build
blob: 9961b0938f74bdbc188766668defb67b18d337aa (plain) (blame)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# nix src build file
#============================================================================

src_dirs = [
  'libutil',
  'libstore',
  'libmain',
  'libexpr',
  'nix',
  'resolve-system-dependencies'
]

foreach dir : src_dirs
    subdir(dir)
endforeach



libstore_config = pkg.generate(
    libstore_lib,
    libraries : [
        libutil_lib],
    version : meson.project_version(),
    name : 'Nix',
    subdirs : ['nix/'],
    filebase : 'nix-store',
    extra_cflags : '-std=c++17',
    description : 'Nix Package Manager.')

libmain_config = pkg.generate(
    libmain_lib,
    version : meson.project_version(),
    name : 'Nix',
    subdirs : ['nix/'],
    filebase : 'nix-main',
    extra_cflags : '-std=c++17',
    description : 'Nix Package Manager.')

libexpr_config = pkg.generate(
    libexpr_lib,
    libraries : [
        libstore_lib],
    version : meson.project_version(),
    name : 'Nix',
    subdirs : ['nix/'],
    filebase : 'nix-expr',
    extra_cflags : '-std=c++17',
    description : 'Nix Package Manager.')