summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/genie/docs/scripting-reference.md
diff options
context:
space:
mode:
author Branimir Karadžić <branimirkaradzic@gmail.com>2016-05-03 12:20:29 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-05-03 12:20:29 +0200
commitf97b68d3ed8312f0800fc0e501ad0174a968d3e9 (patch)
treebf876c8732bd657d05908876ae88e1736f306610 /3rdparty/genie/docs/scripting-reference.md
parentf2aca844f6bbfcc0d1284d6dd546cd552cbe0a92 (diff)
Update GENie, BGFX and BX (nw)
Diffstat (limited to '3rdparty/genie/docs/scripting-reference.md')
-rw-r--r--3rdparty/genie/docs/scripting-reference.md34
1 files changed, 32 insertions, 2 deletions
diff --git a/3rdparty/genie/docs/scripting-reference.md b/3rdparty/genie/docs/scripting-reference.md
index 85464a74f00..e08e1dee4ac 100644
--- a/3rdparty/genie/docs/scripting-reference.md
+++ b/3rdparty/genie/docs/scripting-reference.md
@@ -43,6 +43,7 @@
* [location](#locationpath)
* [newaction](#newactiondescription)
* [newoption](#newoptionsdescription)
+ * [nopch](#nopch)
* [objdir](#objdirpath)
* [os.chdir](#oschdirpath)
* [os.copyfile](#oscopyfilesource-destination)
@@ -516,15 +517,17 @@ Specifies build flags to modify the compiling or linking process. Multiple calls
#### Arguments
_flags_ - List of flag names from list below. Names are case-insensitive and ignored if not supported on a platform.
-* _EnableSSE, EnableSSE2_ - Enable SSE instruction sets
+* _EnableSSE, EnableSSE2, EnableAVX, EnableAVX2_ - Enable SSE/AVX instruction sets
* _ExtraWarnings_ - Sets compiler's max warning level.
* _FatalWarnings_ - Treat warnings as errors.
* _FloatFast_ - Enable floating point optimizations at the expense of accuracy.
* _FloatStrict_ - Improve floating point consistency at the expense of performance.
* _Managed_ - Enable Managed C++ (.NET).
+* _MinimumWarnings_ - - Sets compiler's minimum warning level (Visual Studio only).
* _MFC_ - Enable support for Microsoft Foundation Classes.
* _NativeWChar, NoNativeWChar_ - Toggle support for the wchar data type.
* _No64BitChecks_ - Disable 64-bit portability warnings.
+* _NoBufferSecurityCheck_ - Turns off Visual Studio 'Security Check' option. Can give up to 10% performance improvement.
* _NoEditAndContinue_ - Disable support for Visual Studio's Edit-and-Continue feature.
* _NoExceptions_ - Disable C++ exception support.
* _NoFramePointer_ - Disable the generation of stack frame pointers.
@@ -534,6 +537,8 @@ _flags_ - List of flag names from list below. Names are case-insensitive and ign
* _NoMinimalRebuild_ - Disable Visual Studio's minimal rebuild feature.
* _NoPCH_ - Disable precompiled headers.
* _NoRTTI_ - Disable C++ runtime type information.
+* _NoWinMD_ - Disables Generation of Windows Metadata.
+* _NoWinRT_ - Disables Windows RunTime Extension for project.
* _Optimize_ - Perform a balanced set of optimizations.
* _OptimizeSize_ - Optimize for the smallest file size.
* _OptimizeSpeed_ - Optimize for the best performance.
@@ -959,6 +964,31 @@ newoption {
[Back to top](#table-of-contents)
---
+### nopch({_files_...})
+Sets sources files added with the [`files`](#files) function, to not use the precompiled header. Multiple calls are concatenated.
+
+**Note:** May be set on the solution, project, or configuration, but only project-level file lists are currently supported.
+
+**Scope:** solutions, projects, configurations
+
+#### Arguments
+_files_ - List of files to not use the precompiled header. Paths should be relative to the currently-executing script file and may contain [wildcards](#wildcards).
+
+#### Examples
+Add all c files in a directory, then set a specific file to not use precompiled headers.
+```lua
+files { "*.c" }
+nopch { "a_file.c" }
+```
+
+Add an entire directory of C files, then set one directory to not use precompiled headers
+```lua
+files { "*.c" }
+nopch { "tests/*.c" }
+```
+[Back to top](#table-of-contents)
+
+---
### objdir(_path_)
Sets an object and intermediate file directory for a project. By default, object and intermediate files are stored in a directory named "obj" in the same directory as the project.
@@ -2005,4 +2035,4 @@ vpaths {
In some places, wildcards may be used in string values passed to a function. Usually, these strings represent paths. There are two types of wildcards:
* `*` - matches files within a single directory
-* `**` - matches files recursively in any child directory \ No newline at end of file
+* `**` - matches files recursively in any child directory