Build: Add a --enable-standalone option
This option will generate a libcogl2 DSO that depends on the least possible external libraries. Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit 6357960e1b91081546adf1bb110067d7db4d7400)
This commit is contained in:
parent
d2c41502a4
commit
41f443971c
20
configure.ac
20
configure.ac
@ -195,6 +195,26 @@ dnl ================================================================
|
||||
dnl Handle extra configure options
|
||||
dnl ================================================================
|
||||
|
||||
dnl ============================================================
|
||||
dnl Standalone cogl
|
||||
dnl ============================================================
|
||||
|
||||
AC_ARG_ENABLE(
|
||||
[standalone],
|
||||
[AC_HELP_STRING([--enable-debug=@<:@no/yes@:>@], [Build Cogl without any external depedency @<:@default=no@:>@])],
|
||||
[],
|
||||
enable_standalone=no
|
||||
)
|
||||
AS_IF([test "x$enable_standalone" = "xyes"],
|
||||
[
|
||||
enable_cairo=no
|
||||
enable_glib=no
|
||||
enable_cogl_pango=no
|
||||
enable_nls=no
|
||||
enable_gdk_pixbuf=no
|
||||
]
|
||||
)
|
||||
|
||||
dnl ============================================================
|
||||
dnl Enable debugging
|
||||
dnl ============================================================
|
||||
|
Loading…
Reference in New Issue
Block a user