Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/project-web/playerstage/htdocs/wiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/project-web/playerstage/htdocs/wiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/project-web/playerstage/htdocs/wiki/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/project-web/playerstage/htdocs/wiki/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/project-web/playerstage/htdocs/wiki/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/project-web/playerstage/htdocs/wiki/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/project-web/playerstage/htdocs/wiki/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/project-web/playerstage/htdocs/wiki/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/project-web/playerstage/htdocs/wiki/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/project-web/playerstage/htdocs/wiki/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/project-web/playerstage/htdocs/wiki/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/project-web/playerstage/htdocs/wiki/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/project-web/playerstage/htdocs/wiki/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/project-web/playerstage/htdocs/wiki/includes/MagicWord.php on line 705

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/project-web/playerstage/htdocs/wiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/project-web/playerstage/htdocs/wiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/project-web/playerstage/htdocs/wiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/project-web/playerstage/htdocs/wiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/project-web/playerstage/htdocs/wiki/includes/MagicWord.php on line 722
Adding drivers to Player 3 - The Player Project

Adding drivers to Player 3

From The Player Project

Jump to: navigation, search
Line 38: Line 38:
Add a driver to the list of drivers to be built or not built. Only call this once you have determined the final value of cumulativeVar. Pass source files, flags, etc. as extra args preceded by keywords as follows:
Add a driver to the list of drivers to be built or not built. Only call this once you have determined the final value of cumulativeVar. Pass source files, flags, etc. as extra args preceded by keywords as follows:
-
SOURCES <source file list>
+
SOURCES <source file list>
-
INCLUDEDIRS <include directories list>
+
INCLUDEDIRS <include directories list>
-
LIBDIRS <library directories list>
+
LIBDIRS <library directories list>
-
LINKFLAGS <link flags list>
+
LINKFLAGS <link flags list>
-
CFLAGS <compile flags list>
+
CFLAGS <compile flags list>
;name
;name
Line 54: Line 54:
Add some extra code to compile and link into playerdrivers. Pass source files, flags, etc. as extra args preceded by keywords as follows:
Add some extra code to compile and link into playerdrivers. Pass source files, flags, etc. as extra args preceded by keywords as follows:
-
SOURCES <source file list>
+
SOURCES <source file list>
-
INCLUDEDIRS <include directories list>
+
INCLUDEDIRS <include directories list>
-
LIBDIRS <library directories list>
+
LIBDIRS <library directories list>
-
LINKFLAGS <link flags list>
+
LINKFLAGS <link flags list>
-
CFLAGS <compile flags list>
+
CFLAGS <compile flags list>
== PLAYERDRIVER_OPTION ==
== PLAYERDRIVER_OPTION ==
Line 65: Line 65:
Add an option to enable/disable a driver.
Add an option to enable/disable a driver.
-
IMPORTANT: This macro initialises _cumulativeVar, so it must be called before any other PLAYERDRIVER macros.
+
 
 +
'''NOTE:''' This macro initialises _cumulativeVar, so it must be called before any other PLAYERDRIVER macros.
;name
;name

Revision as of 05:42, 29 June 2009

Personal tools