cmake/backbone: Combine Vala{Lib,Plugin}CommonRules.
This commit is contained in:
parent
0e3acf239f
commit
d5f982970e
|
@ -1 +1 @@
|
||||||
Subproject commit 02f3a0f7d969534872799b45a95d3c5a6fef14c3
|
Subproject commit e94a91ba7e5e1ef21b2040e1cacb957100d435be
|
|
@ -1,11 +1,13 @@
|
||||||
SET (PluginName type_a1)
|
SET (LibName type_a1)
|
||||||
FILE (GLOB_RECURSE PluginSources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} TypeA1.vala)
|
SET (LibIsPlugin ON)
|
||||||
SET (PluginCustomVapis
|
SET (LibNoApi ON)
|
||||||
|
FILE (GLOB_RECURSE LibSources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} TypeA1.vala)
|
||||||
|
SET (LibCustomVapis
|
||||||
${CMAKE_BINARY_DIR}/src/iface/${PROJECT_LOWERCASE_NAME}-iface-${MAJOR}.vapi
|
${CMAKE_BINARY_DIR}/src/iface/${PROJECT_LOWERCASE_NAME}-iface-${MAJOR}.vapi
|
||||||
${CMAKE_BINARY_DIR}/test/loader_test-iface/loader_test-iface-${MAJOR}.vapi
|
${CMAKE_BINARY_DIR}/test/loader_test-iface/loader_test-iface-${MAJOR}.vapi
|
||||||
)
|
)
|
||||||
SET (PluginLinkLibs gobject-plugin-iface loader_test-iface)
|
SET (LibLinkLibs gobject-plugin-iface loader_test-iface)
|
||||||
INCLUDE_DIRECTORIES ("${CMAKE_BINARY_DIR}/src/iface"
|
INCLUDE_DIRECTORIES ("${CMAKE_BINARY_DIR}/src/iface"
|
||||||
"${CMAKE_BINARY_DIR}/test/loader_test-iface"
|
"${CMAKE_BINARY_DIR}/test/loader_test-iface"
|
||||||
)
|
)
|
||||||
INCLUDE (ValaPluginCommonRules)
|
INCLUDE (ValaLibCommonRules)
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
SET (PluginName type_a2)
|
SET (LibName type_a2)
|
||||||
FILE (GLOB_RECURSE PluginSources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} TypeA2.vala)
|
SET (LibIsPlugin ON)
|
||||||
SET (PluginCustomVapis
|
SET (LibNoApi ON)
|
||||||
|
FILE (GLOB_RECURSE LibSources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} TypeA2.vala)
|
||||||
|
SET (LibCustomVapis
|
||||||
${CMAKE_BINARY_DIR}/src/iface/${PROJECT_LOWERCASE_NAME}-iface-${MAJOR}.vapi
|
${CMAKE_BINARY_DIR}/src/iface/${PROJECT_LOWERCASE_NAME}-iface-${MAJOR}.vapi
|
||||||
${CMAKE_BINARY_DIR}/test/loader_test-iface/loader_test-iface-${MAJOR}.vapi
|
${CMAKE_BINARY_DIR}/test/loader_test-iface/loader_test-iface-${MAJOR}.vapi
|
||||||
)
|
)
|
||||||
SET (PluginLinkLibs gobject-plugin-iface loader_test-iface)
|
SET (LibLinkLibs gobject-plugin-iface loader_test-iface)
|
||||||
INCLUDE_DIRECTORIES ("${CMAKE_BINARY_DIR}/src/iface"
|
INCLUDE_DIRECTORIES ("${CMAKE_BINARY_DIR}/src/iface"
|
||||||
"${CMAKE_BINARY_DIR}/test/loader_test-iface"
|
"${CMAKE_BINARY_DIR}/test/loader_test-iface"
|
||||||
)
|
)
|
||||||
INCLUDE (ValaPluginCommonRules)
|
INCLUDE (ValaLibCommonRules)
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
SET (PluginName type_b1)
|
SET (LibName type_b1)
|
||||||
FILE (GLOB_RECURSE PluginSources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} TypeB1.vala)
|
SET (LibIsPlugin ON)
|
||||||
SET (PluginCustomVapis
|
SET (LibNoApi ON)
|
||||||
|
FILE (GLOB_RECURSE LibSources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} TypeB1.vala)
|
||||||
|
SET (LibCustomVapis
|
||||||
${CMAKE_BINARY_DIR}/src/iface/${PROJECT_LOWERCASE_NAME}-iface-${MAJOR}.vapi
|
${CMAKE_BINARY_DIR}/src/iface/${PROJECT_LOWERCASE_NAME}-iface-${MAJOR}.vapi
|
||||||
${CMAKE_BINARY_DIR}/test/loader_test-iface/loader_test-iface-${MAJOR}.vapi
|
${CMAKE_BINARY_DIR}/test/loader_test-iface/loader_test-iface-${MAJOR}.vapi
|
||||||
)
|
)
|
||||||
SET (PluginLinkLibs gobject-plugin-iface loader_test-iface)
|
SET (LibLinkLibs gobject-plugin-iface loader_test-iface)
|
||||||
INCLUDE_DIRECTORIES ("${CMAKE_BINARY_DIR}/src/iface"
|
INCLUDE_DIRECTORIES ("${CMAKE_BINARY_DIR}/src/iface"
|
||||||
"${CMAKE_BINARY_DIR}/test/loader_test-iface"
|
"${CMAKE_BINARY_DIR}/test/loader_test-iface"
|
||||||
)
|
)
|
||||||
INCLUDE (ValaPluginCommonRules)
|
INCLUDE (ValaLibCommonRules)
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
SET (PluginName type_b2)
|
SET (LibName type_b2)
|
||||||
FILE (GLOB_RECURSE PluginSources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} TypeB2.vala)
|
SET (LibIsPlugin ON)
|
||||||
SET (PluginCustomVapis
|
SET (LibNoApi ON)
|
||||||
|
FILE (GLOB_RECURSE LibSources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} TypeB2.vala)
|
||||||
|
SET (LibCustomVapis
|
||||||
${CMAKE_BINARY_DIR}/src/iface/${PROJECT_LOWERCASE_NAME}-iface-${MAJOR}.vapi
|
${CMAKE_BINARY_DIR}/src/iface/${PROJECT_LOWERCASE_NAME}-iface-${MAJOR}.vapi
|
||||||
${CMAKE_BINARY_DIR}/test/loader_test-iface/loader_test-iface-${MAJOR}.vapi
|
${CMAKE_BINARY_DIR}/test/loader_test-iface/loader_test-iface-${MAJOR}.vapi
|
||||||
)
|
)
|
||||||
SET (PluginLinkLibs gobject-plugin-iface loader_test-iface)
|
SET (LibLinkLibs gobject-plugin-iface loader_test-iface)
|
||||||
INCLUDE_DIRECTORIES ("${CMAKE_BINARY_DIR}/src/iface"
|
INCLUDE_DIRECTORIES ("${CMAKE_BINARY_DIR}/src/iface"
|
||||||
"${CMAKE_BINARY_DIR}/test/loader_test-iface"
|
"${CMAKE_BINARY_DIR}/test/loader_test-iface"
|
||||||
)
|
)
|
||||||
INCLUDE (ValaPluginCommonRules)
|
INCLUDE (ValaLibCommonRules)
|
||||||
|
|
Loading…
Reference in New Issue