mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[general] Defining c++17 in project file directly, rather than as a compiler argument
This commit is contained in:
parent
0f26d1c627
commit
1f4d7ae747
3 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ exe_wrapper = 'wine'
|
||||||
c_args = ['-Og', '-ggdb']
|
c_args = ['-Og', '-ggdb']
|
||||||
c_link_args = ['-static', '-static-libgcc']
|
c_link_args = ['-static', '-static-libgcc']
|
||||||
|
|
||||||
cpp_args = ['-std=c++17', '-Og', '-gstabs']
|
cpp_args = ['-Og', '-gstabs']
|
||||||
cpp_link_args = ['-static', '-static-libgcc', '-static-libstdc++', '-Wl,--add-stdcall-alias']
|
cpp_link_args = ['-static', '-static-libgcc', '-static-libstdc++', '-Wl,--add-stdcall-alias']
|
||||||
|
|
||||||
[host_machine]
|
[host_machine]
|
||||||
|
|
|
@ -9,7 +9,7 @@ exe_wrapper = 'wine'
|
||||||
c_args = ['-Og', '-ggdb']
|
c_args = ['-Og', '-ggdb']
|
||||||
c_link_args = ['-static', '-static-libgcc']
|
c_link_args = ['-static', '-static-libgcc']
|
||||||
|
|
||||||
cpp_args = ['-std=c++17', '-Og', '-gstabs']
|
cpp_args = ['-Og', '-gstabs']
|
||||||
cpp_link_args = ['-static', '-static-libgcc', '-static-libstdc++']
|
cpp_link_args = ['-static', '-static-libgcc', '-static-libstdc++']
|
||||||
|
|
||||||
[host_machine]
|
[host_machine]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
project('dxvk', ['c', 'cpp'])
|
project('dxvk', ['c', 'cpp'], default_options : ['cpp_std=c++17'])
|
||||||
|
|
||||||
cpu_family = target_machine.cpu_family()
|
cpu_family = target_machine.cpu_family()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue