Create src subdir

This commit is contained in:
King_DuckZ 2020-06-20 00:15:24 +02:00
parent 002f27de1f
commit e0611ec6ff
3 changed files with 14 additions and 13 deletions

View file

@ -5,18 +5,6 @@ project('orotool', 'cpp',
license: 'GPL3+',
)
restc_cpp_dep = dependency('restc-cpp', version: '>=0.1.1',
fallback: ['restc-cpp', 'restc_cpp_dep'],
default_options: [
'restc_cpp_with_unit_tests=false',
],
)
date_incdir = include_directories('subprojects/date/include')
executable(meson.project_name(),
'main.cpp',
install: true,
dependencies: [restc_cpp_dep],
include_directories: date_incdir,
)
subdir('src')

13
src/meson.build Normal file
View file

@ -0,0 +1,13 @@
restc_cpp_dep = dependency('restc-cpp', version: '>=0.1.1',
fallback: ['restc-cpp', 'restc_cpp_dep'],
default_options: [
'restc_cpp_with_unit_tests=false',
],
)
executable(meson.project_name(),
'main.cpp',
install: true,
dependencies: [restc_cpp_dep],
include_directories: date_incdir,
)