aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/raw_pdb/xmake.lua
blob: d7dd3f16a8e91f9fb822bfb0327a60351b242445 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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