aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/raw_pdb/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/raw_pdb/xmake.lua')
-rw-r--r--thirdparty/raw_pdb/xmake.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/thirdparty/raw_pdb/xmake.lua b/thirdparty/raw_pdb/xmake.lua
new file mode 100644
index 000000000..d7dd3f16a
--- /dev/null
+++ b/thirdparty/raw_pdb/xmake.lua
@@ -0,0 +1,17 @@
+-- raw_pdb: A C++11 library for reading Microsoft PDB files
+-- https://github.com/MolecularMatters/raw_pdb
+
+target("raw_pdb")
+ set_kind("static")
+ set_group("thirdparty")
+
+ add_files("src/PDB*.cpp")
+ remove_files("src/PDB_PCH.cpp")
+
+ add_headerfiles("src/**.h")
+ add_includedirs("src", {public=true})
+
+ if is_plat("windows") then
+ add_cxxflags("/wd4324", {force=true}) -- structure was padded due to alignment specifier
+ add_cxxflags("/wd4702", {force=true}) -- unreachable code
+ end