summaryrefslogtreecommitdiff
path: root/core/src/pdcurses/xmake.lua
blob: 4de5a22a418611233fb344cc54a4673ad8878c58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
-- add target
target("pdcurses")

    -- make as a static library
    set_kind("static")

    -- set the object files directory
    set_objectdir("$(buildir)/.objs")

    -- add includes directory
    add_includedirs(".")

    -- add the common source files
    add_files("**.c") 

    -- add defines
    add_defines("PDC_WIDE")

    -- set languages
    set_languages("c89")