This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Building plugins that require linking to `KDev::Tests`?

Tags: None
(comma "," separated)
thetimbrick
Registered Member
Posts
7
Karma
0
OS
I'm trying to build a plugin for KDevelop called kdev-css, but I end up getting these errors:
Code: Select all
CMake Error at /usr/share/ECM/modules/ECMAddTests.cmake:92 (add_executable):
  Target "completionmodeltest" links to target "KDev::Tests" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  CMakeLists.txt:115 (ecm_add_test)


CMake Error at /usr/share/ECM/modules/ECMAddTests.cmake:92 (add_executable):
  Target "duchaintest" links to target "KDev::Tests" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  CMakeLists.txt:132 (ecm_add_test)


CMake Error at /usr/share/ECM/modules/ECMAddTests.cmake:92 (add_executable):
  Target "parsejobtest" links to target "KDev::Tests" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  CMakeLists.txt:145 (ecm_add_test)


CMake Error at parser/CMakeLists.txt:56 (add_executable):
  Target "css-parser" links to target "KDev::Tests" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at /usr/share/ECM/modules/ECMAddTests.cmake:92 (add_executable):
  Target "parsertest" links to target "KDev::Tests" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  parser/CMakeLists.txt:72 (ecm_add_test)

For some plugins it is possible to disable the testing, but I could not find any way to do that with this plugin.
How would I get KDev::Tests?


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]