Regression with git cmake

Albert Astals Cid aacid at kde.org
Sun Sep 23 09:09:05 UTC 2012


Hi, if you use cmake from git as of today the configuring of some projects 
fail, here an example of kde-workspace

This error has been reproduced at my machine and in the jenkins server [1].

Any idea if it's a cmake regression or that we were misusing some stuff?

Cheers,
  Albert

[1] http://build.kde.org/view/All/job/kde-workspace_master/99/console

-- Configuring done
CMake Error at 
/home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:596 
(add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:oxygen-shadow-demo>

  Expression syntax not recognized.
Call Stack (most recent call first):
  /home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:1006 
(kde4_handle_rpath_for_executable)
  kwin/clients/oxygen/demo/CMakeLists.txt:15 (kde4_add_executable)


CMake Error at 
/home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:596 
(add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:solid-action-desktop-gen>

  Expression syntax not recognized.
Call Stack (most recent call first):
  /home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:1006 
(kde4_handle_rpath_for_executable)
  solid/solid-actions-kcm/CMakeLists.txt:37 (KDE4_ADD_EXECUTABLE)


CMake Error at 
/home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:596 
(add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:solid-network>

  Expression syntax not recognized.
Call Stack (most recent call first):
  /home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:1006 
(kde4_handle_rpath_for_executable)
  solid/solidshell/CMakeLists.txt:6 (kde4_add_executable)


CMake Error at 
/home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:596 
(add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:kblankscrn.kss>

  Expression syntax not recognized.
Call Stack (most recent call first):
  /home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:1006 
(kde4_handle_rpath_for_executable)
  kscreensaver/kblank_screensaver/CMakeLists.txt:10 (kde4_add_executable)


CMake Error at 
/home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:596 
(add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:krandom.kss>

  Expression syntax not recognized.
Call Stack (most recent call first):
  /home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:1006 
(kde4_handle_rpath_for_executable)
  kscreensaver/krandom_screensaver/CMakeLists.txt:10 (kde4_add_executable)


CMake Error at 
/home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:596 
(add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:plasma-desktop>

  Expression syntax not recognized.
Call Stack (most recent call first):
  /home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:1006 
(kde4_handle_rpath_for_executable)
  /home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:821 
(kde4_add_executable)
  plasma/desktop/shell/CMakeLists.txt:52 (kde4_add_kdeinit_executable)


CMake Error at 
/home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:596 
(add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:notifications-to-orgkdenotifications>

  Expression syntax not recognized.
Call Stack (most recent call first):
  /home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:1006 
(kde4_handle_rpath_for_executable)
  plasma/desktop/shell/configupdates/CMakeLists.txt:2 (kde4_add_executable)


CMake Error at 
/home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:596 
(add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:plasma-add-shortcut-to-menu>

  Expression syntax not recognized.
Call Stack (most recent call first):
  /home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:1006 
(kde4_handle_rpath_for_executable)
  plasma/desktop/shell/configupdates/CMakeLists.txt:9 (kde4_add_executable)


CMake Error at 
/home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:596 
(add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:plasma-to-plasma-desktop>

  Expression syntax not recognized.
Call Stack (most recent call first):
  /home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:1006 
(kde4_handle_rpath_for_executable)
  plasma/desktop/shell/configupdates/CMakeLists.txt:16 (kde4_add_executable)


CMake Error at 
/home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:596 
(add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:plasma-netbook>

  Expression syntax not recognized.
Call Stack (most recent call first):
  /home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:1006 
(kde4_handle_rpath_for_executable)
  /home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:821 
(kde4_add_executable)
  plasma/netbook/shell/CMakeLists.txt:20 (kde4_add_kdeinit_executable)


CMake Error at 
/home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:596 
(add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:plasma-overlay>

  Expression syntax not recognized.
Call Stack (most recent call first):
  /home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:1006 
(kde4_handle_rpath_for_executable)
  plasma/screensaver/shell/CMakeLists.txt:29 (kde4_add_executable)


CMake Error at 
/home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:596 
(add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:remote-widgets-browser>

  Expression syntax not recognized.
Call Stack (most recent call first):
  /home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:1006 
(kde4_handle_rpath_for_executable)
  plasma/generic/tools/remote-widgets-browser/CMakeLists.txt:8 
(kde4_add_executable)


CMake Error at 
/home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:596 
(add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:plasma-windowed>

  Expression syntax not recognized.
Call Stack (most recent call first):
  /home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:1006 
(kde4_handle_rpath_for_executable)
  /home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:821 
(kde4_add_executable)
  plasma/generic/shells/plasma-windowed/CMakeLists.txt:12 
(kde4_add_kdeinit_executable)


CMake Error at 
/home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:596 
(add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:oxygen-settings>

  Expression syntax not recognized.
Call Stack (most recent call first):
  /home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:1006 
(kde4_handle_rpath_for_executable)
  kstyles/oxygen/config/CMakeLists.txt:31 (kde4_add_executable)


CMake Error at 
/home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:596 
(add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:oxygen-demo>

  Expression syntax not recognized.
Call Stack (most recent call first):
  /home/kdeunstable/instalado/share/apps/cmake/modules/KDE4Macros.cmake:1006 
(kde4_handle_rpath_for_executable)
  kstyles/oxygen/demo/CMakeLists.txt:30 (kde4_add_executable)



More information about the Kde-buildsystem mailing list