diff options
| author | ruki <[email protected]> | 2015-05-14 13:22:11 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-05-14 13:22:11 +0800 |
| commit | 914fd0881e2242f01b497650dd09432316aa48d3 (patch) | |
| tree | b3f7d4a008a69e0bf7147c09528e4631e39ae93a /xmake/scripts/base/project.lua | |
| parent | 74ece0defa314bab78262d95bee517bdc09df689 (diff) | |
load xproj
Diffstat (limited to 'xmake/scripts/base/project.lua')
| -rw-r--r-- | xmake/scripts/base/project.lua | 76 |
1 files changed, 72 insertions, 4 deletions
diff --git a/xmake/scripts/base/project.lua b/xmake/scripts/base/project.lua index 9f0dd7842..fe7986ba7 100644 --- a/xmake/scripts/base/project.lua +++ b/xmake/scripts/base/project.lua @@ -37,6 +37,74 @@ local current = nil function scopend() end +-- configure kind +function kind() +end + +-- configure deps +function deps() +end + +-- configure files +function files() +end + +-- configure links +function links() +end + +-- configure headers +function headers() +end + +-- configure headerdir +function headerdir() +end + +-- configure targetdir +function targetdir() +end + +-- configure objectdir +function objectdir() +end + +-- configure linkdirs +function linkdirs() +end + +-- configure includedirs +function includedirs() +end + +-- configure cflags +function cflags() +end + +-- configure cxxflags +function cxxflags() +end + +-- configure ldflags +function ldflags() +end + +-- configure mflags +function mflags() +end + +-- configure mxflags +function mxflags() +end + +-- configure defines +function defines() +end + +-- configure plarforms +function plarforms() +end + -- configure target function target(name) @@ -44,15 +112,15 @@ function target(name) assert(name and _ROOT) -- init targets - current._TARGETS = current._TARGETS or {} +-- current._TARGETS = current._TARGETS or {} -- init target scope - current._TARGETS[name] = {} +-- current._TARGETS[name] = {} -- TODO -- enter target scope - parent = current - current = _ROOT._TARGETS[name] +-- parent = current +-- current = _ROOT._TARGETS[name] end |
