-- add modes: debug and release add_rules("mode.debug", "mode.release") -- add target target("${TARGETNAME}") -- set kind set_kind("binary") -- add files add_files("src/*.mm") -- for macosx or ios if is_os("macosx", "ios") then add_mxflags("-fobjc-arc") end -- add frameworks add_frameworks("Foundation", "CoreFoundation") ${FAQ}