summaryrefslogtreecommitdiff
path: root/xmake/core/base/os.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-07-04 16:57:24 +0800
committerruki <[email protected]>2017-07-04 16:57:24 +0800
commit347b05c2c2b249c482f746ae2d7b4d72861e7501 (patch)
tree90c86e1b2ffd15591490dc9a5325f06ad325fb1a /xmake/core/base/os.lua
parentfd8e051b5920bc73354b12d90088591b72e40ee9 (diff)
fix symbolfile for vs201x plugin
Diffstat (limited to 'xmake/core/base/os.lua')
-rw-r--r--xmake/core/base/os.lua14
1 files changed, 10 insertions, 4 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua
index 93f910c48..6616c2849 100644
--- a/xmake/core/base/os.lua
+++ b/xmake/core/base/os.lua
@@ -700,18 +700,24 @@ end
-- get the program directory
function os.programdir()
-
- -- get it
return xmake._PROGRAM_DIR
end
-- get the program file
function os.programfile()
-
- -- get it
return xmake._PROGRAM_FILE
end
+-- get the project directory
+function os.projectdir()
+ return xmake._PROJECT_DIR
+end
+
+-- get the project file
+function os.projectfile()
+ return xmake._PROJECT_FILE
+end
+
-- get version info
function os.versioninfo()