meson: prefer project local arguments over global ones
This commit is contained in:
parent
493317cc9c
commit
bbbc23cd67
@ -13,10 +13,10 @@ if host_machine.endian() == 'big'
|
|||||||
add_project_arguments('-DWORDS_BIGENDIAN')
|
add_project_arguments('-DWORDS_BIGENDIAN')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
add_global_arguments('-std=c++2a', language: 'cpp')
|
add_project_arguments('-std=c++2a', language: 'cpp')
|
||||||
add_global_link_arguments('-lstdc++fs', language: 'cpp')
|
add_project_link_arguments('-lstdc++fs', language: 'cpp')
|
||||||
|
|
||||||
add_global_arguments('-Drestrict=__restrict', language: 'cpp')
|
add_project_arguments('-Drestrict=__restrict', language: 'cpp')
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
ragel.process('uri.cpp.rl'),
|
ragel.process('uri.cpp.rl'),
|
||||||
|
Loading…
Reference in New Issue
Block a user