init
This commit is contained in:
commit
807c3b0094
11 changed files with 533 additions and 0 deletions
21
meson.build
Normal file
21
meson.build
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
project('nix-shorturl-plugin', 'cpp',
|
||||
version : '0.1.0',
|
||||
default_options : [
|
||||
'cpp_std=c++23',
|
||||
'warning_level=2',
|
||||
],
|
||||
)
|
||||
|
||||
nix_fetchers = dependency('nix-fetchers')
|
||||
nix_util = dependency('nix-util')
|
||||
nix_store = dependency('nix-store')
|
||||
nlohmann_json = dependency('nlohmann_json', version : '>=3.9')
|
||||
|
||||
plugin = shared_library('nix-shorturl-plugin',
|
||||
'src/plugin.cc',
|
||||
'src/shorturl-scheme.cc',
|
||||
'src/config.cc',
|
||||
dependencies : [nix_fetchers, nix_util, nix_store, nlohmann_json],
|
||||
install : true,
|
||||
install_dir : get_option('libdir') / 'nix' / 'plugins',
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue