Adding drivers to Player 3

From The Player Project

Jump to: navigation, search
Line 181: Line 181:
;path
;path
:Location where the library is expected to be.
:Location where the library is expected to be.
 +
 +
== PLAYERDRIVER_REQUIRE_ENVVAR ==
 +
 +
'''PLAYERDRIVER_REQUIRE_ENVVAR (_name _cumulativeVar _envvar _dest)'''
 +
 +
Require an environment variable be set, and store its value in the variable stored in _dest.
 +
 +
;name
 +
:Driver name.
 +
;_cumulativeVar
 +
:The option used in the calling CMakeLists.txt to check if the driver has been enabled.
 +
;_envvar
 +
:The environment variable to check for.
 +
;_dest
 +
:The variable to store the value in. Set to NOTFOUND if the environment variable is not set.
== PLAYERDRIVER_ADD_DEFINEOPTION ==
== PLAYERDRIVER_ADD_DEFINEOPTION ==

Revision as of 02:43, 4 August 2009

Personal tools