Create src subdir
This commit is contained in:
parent
002f27de1f
commit
e0611ec6ff
3 changed files with 14 additions and 13 deletions
14
meson.build
14
meson.build
|
@ -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
13
src/meson.build
Normal 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,
|
||||
)
|
Loading…
Reference in a new issue