meson: prefer project local arguments over global ones

This commit is contained in:
Danny Robson 2019-06-22 08:19:23 +10:00
parent 493317cc9c
commit bbbc23cd67

View File

@ -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'),