2024-06-04 16:28:27 +03:00
|
|
|
# This is just a stub project to include all the others as subprojects
|
|
|
|
# for development shell purposes
|
|
|
|
|
|
|
|
project('nix-dev-shell', 'cpp',
|
|
|
|
version : files('.version'),
|
2024-10-10 19:05:26 +03:00
|
|
|
subproject_dir : 'src',
|
2024-08-14 23:19:35 +03:00
|
|
|
default_options : [
|
|
|
|
'localstatedir=/nix/var',
|
|
|
|
]
|
2024-06-04 16:28:27 +03:00
|
|
|
)
|
|
|
|
|
2024-07-08 16:47:25 +03:00
|
|
|
# Internal Libraries
|
2024-06-04 16:28:27 +03:00
|
|
|
subproject('libutil')
|
2024-06-04 16:28:27 +03:00
|
|
|
subproject('libstore')
|
2024-06-06 04:36:18 +03:00
|
|
|
subproject('libfetchers')
|
2024-06-27 05:15:33 +03:00
|
|
|
subproject('libexpr')
|
|
|
|
subproject('libflake')
|
2024-07-03 21:47:23 +03:00
|
|
|
subproject('libmain')
|
|
|
|
subproject('libcmd')
|
2024-06-27 05:15:33 +03:00
|
|
|
|
2024-07-05 23:21:20 +03:00
|
|
|
# Executables
|
|
|
|
subproject('nix')
|
|
|
|
|
2024-06-27 05:15:33 +03:00
|
|
|
# Docs
|
2024-11-05 15:14:45 +02:00
|
|
|
if get_option('doc-gen')
|
|
|
|
subproject('internal-api-docs')
|
|
|
|
subproject('external-api-docs')
|
|
|
|
if not meson.is_cross_build()
|
|
|
|
subproject('nix-manual')
|
|
|
|
endif
|
2024-07-30 22:05:22 +03:00
|
|
|
endif
|
2024-06-25 16:35:47 +03:00
|
|
|
|
2024-07-08 16:47:25 +03:00
|
|
|
# External C wrapper libraries
|
2024-06-25 16:35:47 +03:00
|
|
|
subproject('libutil-c')
|
2024-06-27 17:19:03 +03:00
|
|
|
subproject('libstore-c')
|
|
|
|
subproject('libexpr-c')
|
2024-07-02 22:15:17 +03:00
|
|
|
subproject('libmain-c')
|
2024-06-25 16:35:47 +03:00
|
|
|
|
2024-06-27 05:15:33 +03:00
|
|
|
# Language Bindings
|
2024-11-05 15:14:45 +02:00
|
|
|
if get_option('bindings') and not meson.is_cross_build()
|
2024-07-22 01:03:04 +03:00
|
|
|
subproject('perl')
|
|
|
|
endif
|
2024-06-27 05:15:33 +03:00
|
|
|
|
2024-06-25 16:35:47 +03:00
|
|
|
# Testing
|
2024-11-05 15:14:45 +02:00
|
|
|
if get_option('unit-tests')
|
|
|
|
subproject('libutil-test-support')
|
|
|
|
subproject('libutil-tests')
|
|
|
|
subproject('libstore-test-support')
|
|
|
|
subproject('libstore-tests')
|
|
|
|
subproject('libfetchers-tests')
|
|
|
|
subproject('libexpr-test-support')
|
|
|
|
subproject('libexpr-tests')
|
|
|
|
subproject('libflake-tests')
|
|
|
|
endif
|
2024-07-08 23:07:06 +03:00
|
|
|
subproject('nix-functional-tests')
|