summaryrefslogtreecommitdiff
path: root/tests/projects/objc++/console/xmake.lua
blob: d701c372300c1d24461f7da0b10ebb096c4f0d68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
-- add rules
add_rules("mode.debug", "mode.release")

-- add frameworks
add_frameworks("Foundation", "CoreFoundation")

-- for macosx or ios
if is_os("macosx", "ios") then

    -- enable arc?
    add_mxflags("-fobjc-arc")
end

-- add target
target("console_objc++")

    -- set kind
    set_kind("binary")

    -- add files
    add_files("src/*.mm")