Compiling Player 3 clients and plugins

From The Player Project

Jump to: navigation, search
Line 61: Line 61:
Macro to build a simple client. Pass source files, flags, etc. as extra args preceded by keywords as follows:
Macro to build a simple client. 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>
 +
 
See the examples directory (typically, ${prefix}/share/player/examples) for example CMakeLists.txt files.
See the examples directory (typically, ${prefix}/share/player/examples) for example CMakeLists.txt files.
Line 80: Line 81:
Macro to build a simple client. Pass source files, flags, etc. as extra args preceded by keywords as follows:
Macro to build a simple client. 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>
 +
 
See the examples directory (typically, ${prefix}/share/player/examples) for example CMakeLists.txt files.
See the examples directory (typically, ${prefix}/share/player/examples) for example CMakeLists.txt files.
Line 99: Line 101:
Macro to build a plugin driver. Pass source files, flags, etc. as extra args preceded by keywords as follows:
Macro to build a plugin driver. 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>
 +
 
See the examples directory (typically, ${prefix}/share/player/examples) for example CMakeLists.txt files.
See the examples directory (typically, ${prefix}/share/player/examples) for example CMakeLists.txt files.
Line 118: Line 121:
Macro to build a plugin interface. This macro will create generated sources prefixed with the interface name. These files will be named <interface>_interface.h and <interface>_xdr.h. Pass source files, flags, etc. as extra args preceded by keywords as follows:
Macro to build a plugin interface. This macro will create generated sources prefixed with the interface name. These files will be named <interface>_interface.h and <interface>_xdr.h. 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>
 +
 
See the examples directory (typically, ${prefix}/share/player/examples) for example CMakeLists.txt files.
See the examples directory (typically, ${prefix}/share/player/examples) for example CMakeLists.txt files.

Revision as of 05:43, 29 June 2009

Personal tools