bleh
This commit is contained in:
parent
6e5045f1f4
commit
693fa17d10
266 changed files with 60543 additions and 1000 deletions
23
meson.build
23
meson.build
|
@ -1,18 +1,20 @@
|
|||
project(
|
||||
'draconis++', 'cpp',
|
||||
version: '0.1.0',
|
||||
default_options: [
|
||||
'cpp_std=c++26',
|
||||
'default_library=static',
|
||||
'warning_level=everything'
|
||||
'warning_level=everything',
|
||||
'buildtype=debugoptimized'
|
||||
]
|
||||
)
|
||||
|
||||
clangtidy = find_program('clang-tidy', required: false)
|
||||
|
||||
cc = meson.get_compiler('cpp')
|
||||
cpp = meson.get_compiler('cpp')
|
||||
|
||||
add_project_arguments(
|
||||
cc.get_supported_arguments([
|
||||
cpp.get_supported_arguments([
|
||||
'-Wno-c++20-compat',
|
||||
'-Wno-c++98-compat',
|
||||
'-Wno-c++98-compat-pedantic',
|
||||
|
@ -29,7 +31,8 @@ source_file_names = [
|
|||
'src/main.cpp',
|
||||
'src/os/os.h',
|
||||
'src/config/config.cpp',
|
||||
'src/config/config.h'
|
||||
'src/config/config.h',
|
||||
'src/config/weather.cpp'
|
||||
]
|
||||
|
||||
if host_machine.system() == 'linux'
|
||||
|
@ -46,16 +49,16 @@ foreach file : source_file_names
|
|||
sources += files(file)
|
||||
endforeach
|
||||
|
||||
quill = subproject('quill')
|
||||
|
||||
deps = []
|
||||
|
||||
deps += cc.find_library('cpr')
|
||||
deps += cc.find_library('curl')
|
||||
deps += cc.find_library('tomlplusplus')
|
||||
deps += cpp.find_library('cpr')
|
||||
deps += cpp.find_library('curl')
|
||||
deps += cpp.find_library('tomlplusplus')
|
||||
deps += dependency('boost', static: true)
|
||||
deps += dependency('fmt')
|
||||
|
||||
fmtlog = subproject('fmtlog')
|
||||
deps += fmtlog.get_variable('fmtlog_dep')
|
||||
deps += quill.get_variable('quill_dep')
|
||||
|
||||
if host_machine.system() == 'linux'
|
||||
deps += dependency('playerctl')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue