[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdevplatform/1.7] plugins/filetemplates: filetemplates plugin: Make testfiletemplates depend on kde
From:       Raphael Kubo da Costa <rakuco () FreeBSD ! org>
Date:       2016-03-17 14:33:32
Message-ID: E1agYzU-0004NX-Kf () scm ! kde ! org
[Download RAW message or body]

Git commit dd18e9a13558cbe519c382d3fe358ae97e39cd38 by Raphael Kubo da Cost=
a.
Committed on 17/03/2016 at 14:33.
Pushed by rkcosta into branch '1.7'.

filetemplates plugin: Make testfiletemplates depend on kdevfiletemplates

There is currently no dependency between both targets, however some of
the files built by both testfiletemplates and kdevfiletemplates (such as
classidentifierpage.cpp) depend on ui files that only the latter target
generates. This means that if one does make testfiletemplates the build
fails like this:

  /tmp/kdevplatform/plugins/filetemplates/classidentifierpage.cpp:23:25:
  fatal error: ui_newclass.h: No such file or directory

Differential Revision:	https://phabricator.kde.org/D1160

M  +1    -0    plugins/filetemplates/CMakeLists.txt

http://commits.kde.org/kdevplatform/dd18e9a13558cbe519c382d3fe358ae97e39cd38

diff --git a/plugins/filetemplates/CMakeLists.txt b/plugins/filetemplates/C=
MakeLists.txt
index f9a16ec..061ee29 100644
--- a/plugins/filetemplates/CMakeLists.txt
+++ b/plugins/filetemplates/CMakeLists.txt
@@ -81,6 +81,7 @@ main.cpp
 )
 =

 kde4_add_executable(testfiletemplates ${test_srcs})
+add_dependencies(testfiletemplates kdevfiletemplates)
 =

 target_link_libraries(testfiletemplates
     ${KDE4_KDECORE_LIBS}
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic