From 678320f41b5f04020667f2f9682aae7ed51d8aa4 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Fri, 1 Apr 2016 20:34:39 +0300 Subject: [PATCH] In progress... --- src/CMakeLists.txt | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 90a0d31..6aa158b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,13 +1,15 @@ -SET (PluginName laview-plugin-object-example-${MAJOR}) -FILE (GLOB_RECURSE PluginSources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.vala) -SET (PluginPackages gtk+-3.0 gee-0.8 gobject-plugin-iface-0 laview-core-iface-0 laview-core-0 +SET (LibName laview-plugin-object-example-${MAJOR}) +FILE (GLOB_RECURSE LibSources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.vala) +SET (LibPackages gtk+-3.0 gee-0.8 gobject-plugin-iface-0 laview-core-iface-0 laview-core-0 laview-plugin-data-example-0) -SET (PluginPkgModules gtk+-3.0 gee-0.8 gobject-plugin-0 laview-core-0 laview-plugin-data-example-0) -SET (PluginCustomVapis ${CMAKE_SOURCE_DIR}/config/Config.vapi) +SET (LibPkgModules gtk+-3.0 gee-0.8 gobject-plugin-0 laview-core-0 laview-plugin-data-example-0) +SET (LibCustomVapis ${CMAKE_SOURCE_DIR}/config/Config.vapi) INCLUDE_DIRECTORIES ("${CMAKE_BINARY_DIR}/config") -SET (PluginInstall ON) -SET (PluginExtraSources ${CMAKE_CURRENT_BINARY_DIR}/library_constructor.c) +SET (LibIsPlugin ON) +SET (LibInstall ON) +SET (LibNoApi ON) +SET (LibExtraSources ${CMAKE_CURRENT_BINARY_DIR}/library_constructor.c) SET (LC_RELATIVE_PREFIX "../../../..") -CONFIGURE_FILE ( "${CMAKE_SOURCE_DIR}/cmake/backbone/templates/library_constructor.c.in" "${PluginExtraSources}") -SET (PluginInstallPrefix "laview-core-0/object-plugins") -INCLUDE (ValaPluginCommonRules) +CONFIGURE_FILE ( "${CMAKE_SOURCE_DIR}/cmake/backbone/templates/library_constructor.c.in" "${LibExtraSources}") +SET (LibInstallPrefix "laview-core-0/object-plugins") +INCLUDE (ValaLibCommonRules)