mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-01-24 06:52:24 +08:00
29 lines
717 B
Meson
29 lines
717 B
Meson
|
source_path = '../src/'
|
||
|
|
||
|
test_libreq = shared_library('test_libreq',
|
||
|
sources : [
|
||
|
source_path + 'file_utils.cpp',
|
||
|
source_path + 'cpu.cpp',
|
||
|
source_path + 'pacmanconf_repo.cpp',
|
||
|
source_path + 'initcpio.cpp',
|
||
|
],
|
||
|
include_directories : [include_directories(source_path)],
|
||
|
dependencies: deps
|
||
|
)
|
||
|
|
||
|
executable(
|
||
|
'test-initcpio',
|
||
|
files('unit-initcpio.cpp'),
|
||
|
dependencies: deps,
|
||
|
link_with: [test_libreq],
|
||
|
include_directories: [include_directories(source_path)],
|
||
|
install: false)
|
||
|
|
||
|
executable(
|
||
|
'test-pacmanconf',
|
||
|
files('unit-pacmanconf.cpp'),
|
||
|
dependencies: deps,
|
||
|
link_with: [test_libreq],
|
||
|
include_directories: [include_directories(source_path)],
|
||
|
install: false)
|