blob: 1cafaf996b7a4a7220d1863a838a41ad9578f34c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
-- add target
target("pdcurses")
-- enable this target
if not has_config("pdcurses") then
set_default(false)
end
-- make as a static library
set_kind("static")
-- add includes directory
add_includedirs("pdcurses", {public = true})
-- add the common source files
add_files("pdcurses/pdcurses/*.c", "pdcurses/win32/*.c")
-- add definitions
add_defines("PDC_WIDE")
-- set languages
set_languages("c89")
|