diff options
author | Timo Lotterbach <timo.lotterbach@bmw-carit.de> | 2012-11-28 07:59:26 -0800 |
---|---|---|
committer | Timo Lotterbach <timo.lotterbach@bmw-carit.de> | 2013-01-14 00:34:16 -0800 |
commit | 5c132a2c85c8c904c3bf5fb254c6ea3b29759b2c (patch) | |
tree | a452a9da30e8733b73d124e981e2b3848dcec37a /LayerManagerCommands | |
parent | e3bc3c8a9cbfcc02f8f3b3f3fbc43196b776a763 (diff) | |
download | layer_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 'LayerManagerCommands')
-rw-r--r-- | LayerManagerCommands/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LayerManagerCommands/CMakeLists.txt b/LayerManagerCommands/CMakeLists.txt index 6887fe7..f46ca35 100644 --- a/LayerManagerCommands/CMakeLists.txt +++ b/LayerManagerCommands/CMakeLists.txt @@ -31,11 +31,11 @@ include_directories( file(GLOB LM_SOURCES src/*.cpp) file(GLOB LM_INCLUDES include/*.h) -if (WITH_STATIC_PLUGINS) +if (WITH_STATIC_LIBRARIES) add_library(${PROJECT_NAME} STATIC ${LM_SOURCES}) -else (WITH_STATIC_PLUGINS) +else (WITH_STATIC_LIBRARIES) add_library(${PROJECT_NAME} SHARED ${LM_SOURCES}) -endif (WITH_STATIC_PLUGINS) +endif (WITH_STATIC_LIBRARIES) set(LIBS ${LIBS} LayerManagerUtils LayerManagerBase) target_link_libraries(${PROJECT_NAME} ${LIBS}) |