summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorTimo Lotterbach <timo.lotterbach@bmw-carit.de>2012-11-28 07:59:26 -0800
committerTimo Lotterbach <timo.lotterbach@bmw-carit.de>2013-01-14 00:34:16 -0800
commit5c132a2c85c8c904c3bf5fb254c6ea3b29759b2c (patch)
treea452a9da30e8733b73d124e981e2b3848dcec37a /config
parente3bc3c8a9cbfcc02f8f3b3f3fbc43196b776a763 (diff)
downloadlayer_management-5c132a2c85c8c904c3bf5fb254c6ea3b29759b2c.tar.gz
LayerManagerService: added support for full static build of LayerManagerService
the build flag WITH_STATIC_LIBRARIES can be enabled to build all libraries and plugins statically and link them directly to the LayerManagerService binary. Additionally searching for dynamically loaded plugins is disabled to provide improved startup performance. Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Diffstat (limited to 'config')
-rw-r--r--config/res/config.h.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/res/config.h.cmake b/config/res/config.h.cmake
index f0fa1a3..848f74b 100644
--- a/config/res/config.h.cmake
+++ b/config/res/config.h.cmake
@@ -96,6 +96,9 @@
// build plugin for systemd health monitoring
#cmakedefine WITH_PLUGIN_SYSTEMD_HEALTH_MONITOR
+// full static build enabled
+#cmakedefine WITH_STATIC_LIBRARIES
+
//-----------------------------------------------------------------------------
// platform configuration
@@ -144,7 +147,7 @@ const BuildFlag gBuildFlags[] =
{ DEBUG_FLAG, "WITH_X11_GLES = ${WITH_X11_GLES}" },
{ DEBUG_FLAG, "WITH_SYSTEMD_HEALTH_MONITOR = ${WITH_SYSTEMD_HEALTH_MONITOR}" },
{ DEBUG_FLAG, "WITH_EXAMPLE_SCENE_PROVIDER = ${WITH_EXAMPLE_SCENE_PROVIDER}" },
- { DEBUG_FLAG, "WITH_STATIC_PLUGINS = ${WITH_STATIC_PLUGINS}" }
+ { DEBUG_FLAG, "WITH_STATIC_LIBRARIES = ${WITH_STATIC_LIBRARIES}" }
};
const int gBuildFlagCount = sizeof(gBuildFlags) / sizeof(gBuildFlags[0]);