Don't treat warnings as errors for 3rd party projs

This commit is contained in:
Joel Linn
2021-05-04 00:36:39 +02:00
committed by Rick Gibbed
parent 4f020e32c8
commit 5c97a0ad06
4 changed files with 19 additions and 34 deletions

View File

@@ -3,8 +3,6 @@ project("capstone")
uuid("b3a89f7e-bb02-4945-ae75-219caed6afa2")
kind("StaticLib")
language("C")
links({
})
defines({
"CAPSTONE_X86_ATT_DISABLE",
"CAPSTONE_DIET_NO",
@@ -43,13 +41,3 @@ project("capstone")
"capstone/**.c",
"capstone/arch/X86/**.c",
})
filter("platforms:Linux")
-- Capstone code is... not fantastic.
buildoptions({
"-Wno-error=write-strings",
"-Wno-write-string",
"-Wno-deprecated",
"-w",
})
filter({})