1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
add_library(IGNBadPluginAlign SHARED BadPluginAlign.cc)
add_library(IGNBadPluginAPIVersionNew SHARED BadPluginAPIVersionNew.cc)
add_library(IGNBadPluginAPIVersionOld SHARED BadPluginAPIVersionOld.cc)
add_library(IGNBadPluginNoInfo SHARED BadPluginNoInfo.cc)
add_library(IGNBadPluginSize SHARED BadPluginSize.cc)
add_library(IGNFactoryPlugins SHARED FactoryPlugins.cc)
add_library(IGNTemplatedPlugins SHARED TemplatedPlugins.cc)
add_library(IGNDummyPlugins SHARED
DummyPlugins.cc
DummyPluginsOtherTranslationUnit.cc)
# Create a variable for the name of the header which will contain the dummy plugin path.
# This variable gets put in the cache so that it is available at generation time.
foreach(plugin_target
IGNBadPluginAlign
IGNBadPluginAPIVersionNew
IGNBadPluginAPIVersionOld
IGNBadPluginNoInfo
IGNBadPluginSize
IGNDummyPlugins
IGNFactoryPlugins
IGNTemplatedPlugins)
target_link_libraries(${plugin_target} PRIVATE
${PROJECT_LIBRARY_TARGET_NAME}-register)
endforeach()
|