In progress...
This commit is contained in:
parent
cc377c8bff
commit
678320f41b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue