forked from pupbrained/vulkan-test
make sure this actually uses clang fully
This commit is contained in:
parent
647f318d1f
commit
95eafb2432
|
@ -23,9 +23,11 @@ common_cpp_args = [
|
||||||
'-Wno-unsafe-buffer-usage',
|
'-Wno-unsafe-buffer-usage',
|
||||||
'-Wunused-function',
|
'-Wunused-function',
|
||||||
'-fvisibility=hidden',
|
'-fvisibility=hidden',
|
||||||
|
'-stdlib=libc++'
|
||||||
]
|
]
|
||||||
|
|
||||||
add_project_arguments(cpp.get_supported_arguments(common_cpp_args), language: 'cpp')
|
add_project_arguments(cpp.get_supported_arguments(common_cpp_args), language: 'cpp')
|
||||||
|
add_project_arguments('-stdlib=libc++', language: 'cpp')
|
||||||
|
|
||||||
source_file_names = [
|
source_file_names = [
|
||||||
'src/main.cpp',
|
'src/main.cpp',
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <fmt/base.h>
|
|
||||||
#include <fmt/format.h>
|
#include <fmt/format.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue