testExeWithPluginHelper.cmake 575 B

1234567
  1. # Logic common to InterfaceLinkLibrariesDirect and ExportImport tests.
  2. set(src ${CMAKE_CURRENT_LIST_DIR})
  3. add_executable(testExeWithPluginHelper ${src}/testExeWithPluginHelper.c)
  4. add_library(testExePluginHelperObj OBJECT ${src}/testExePluginHelperObj.c)
  5. set_property(TARGET testExeWithPluginHelper PROPERTY ENABLE_EXPORTS 1)
  6. set_property(TARGET testExeWithPluginHelper PROPERTY INTERFACE_LINK_LIBRARIES_DIRECT $<TARGET_NAME:testExePluginHelperObj>)
  7. set_property(TARGET testExeWithPluginHelper PROPERTY INTERFACE_LINK_LIBRARIES_DIRECT_EXCLUDE $<1:testExePluginHelperExclude>)