summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/genie/docs/scripting-reference.md
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-06-08 19:36:57 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-06-08 20:42:23 +0200
commite8cb3e06d030cd4a04df0db786081af6436288c2 (patch)
tree3b1380a952f6d6d2b2617796ab35ec9a96c165e9 /3rdparty/genie/docs/scripting-reference.md
parentb39511102f539a15254316d14a0f98a63afd8fb8 (diff)
Updated GENie to latest (nw)
Diffstat (limited to '3rdparty/genie/docs/scripting-reference.md')
-rw-r--r--3rdparty/genie/docs/scripting-reference.md36
1 files changed, 32 insertions, 4 deletions
diff --git a/3rdparty/genie/docs/scripting-reference.md b/3rdparty/genie/docs/scripting-reference.md
index e08e1dee4ac..cb1cf00f957 100644
--- a/3rdparty/genie/docs/scripting-reference.md
+++ b/3rdparty/genie/docs/scripting-reference.md
@@ -72,7 +72,7 @@
* [path.getrelative](#pathgetrelativesrc-dest)
* [path.isabsolute](#pathisabsolutepath)
* [path.iscfile](#pathiscfilepath)
- * [path.iscppfile](#pathiscppfilepath)
+ * [path.isSourceFile](#pathiscppfilepath)
* [path.isresourcefile](#pathisresourcefilepath)
* [path.join](#pathjoinleading-trailing)
* [path.rebase](#pathrebasepath-oldbase-newbase)
@@ -101,6 +101,7 @@
* [targetname](#targetnamename)
* [targetprefix](#targetprefixprefix)
* [targetsuffix](#targetsuffixsuffix)
+ * [userincludedirs](#userincludedirspaths)
* [uuid](#uuidprojectuuid)
* [vpaths](#vpathsgroup--pattern)
* Additional Information
@@ -547,6 +548,7 @@ _flags_ - List of flag names from list below. Names are case-insensitive and ign
* _Symbols_ - Generate debugging information.
* _Unicode_ - Enable Unicode strings. If not specified, the default toolset behavior is used.
* _Unsafe_ - Enable the use of unsafe code in .NET applications.
+* _UseFullPaths_ - Enable absolute paths for `__FILE__`.
* _WinMain_ - Use WinMain() as the entry point for Windows applications, rather than main().
**Note:** When not set, options will default to the tool default.
@@ -779,12 +781,12 @@ project "MyProject"
---
### language(_lang_)
-Sets the programming language used by a project. GENie currently supports C, C++, and C#. Not all languages are supported by all of the generators. For instance, SharpDevelop does not currently support C or C++ development, and Code::Blocks does not support the .NET languages (C#, managed C++).
+Sets the programming language used by a project. GENie currently supports C, C++, C# and Vala. Not all languages are supported by all of the generators. For instance, SharpDevelop does not currently support C or C++ development, and Code::Blocks does not support the .NET languages (C#, managed C++).
**Scope:** solutions, projects
#### Arguments
-_lang_ - language identifier string ("C", "C++", or "C#"). Case insensitive.
+_lang_ - language identifier string ("C", "C++", "C#" or "Vala"). Case insensitive.
#### Examples
```lua
@@ -1277,6 +1279,32 @@ Table of values:
[Back to top](#table-of-contents)
---
+### userincludedirs({_paths_...})
+Specifies the user include file search paths. Multiple calls are concatenated.
+
+For XCode, it maps to setting the USER INCLUDE SEARCH PATH.
+
+For clang/gcc, it maps to setting the include directory using the iquote option.
+
+On the other build systems, it behaves like [includedirs](#includedirspaths).
+
+**Scope:** solutions, projects, configurations
+
+#### Arguments
+_paths_ - list of user include file search directories, relative to the currently-executing script file.
+
+#### Examples
+Define two include file search paths
+```lua
+userincludedirs { "../lua/include", "../zlib" }
+```
+You can also use [wildcards](#wildcards) to match multiple directories.
+```lua
+userincludedirs { "../includes/**" }
+```
+[Back to top](#table-of-contents)
+
+---
### os.uuid()
Returns a Universally Unique Identifier
@@ -1397,7 +1425,7 @@ _path_ - path to check
[Back to top](#table-of-contents)
---
-### path.iscppfile(_path_)
+### path.isSourceFile(_path_)
Determines whether a file is a C++ source code file, based on extension.
#### Arguments