Login  Register

Re: How to modify cmakelists to include other plugins?

Posted by Gilles Caulier-4 on Mar 19, 2017; 11:58am
URL: http://digikam.185.s1.nabble.com/How-to-modify-cmakelists-to-include-other-plugins-tp4695174p4695176.html

move your test code to imgur plugin dir. It's more simple and safe to not externalize test code outside the relevant plugin. Each tool must do not depend of other ones.

Gilles Caulier

2017-03-19 12:16 GMT+01:00 Himanshu Shekhar <[hidden email]>:
I am trying to write some test cases for available imgur plugin as well as other plugins based on imgur's code.
I am stuck at the compiling step from many days.
To check it simply, I want to include "plugin_imgur.h" in imgur directory in "main.cpp" present at https://cgit.kde.org/kipi-plugins.git/tree/tests/imageselector.

How will I have to modify CMakeLists.txt to make it work.
--

Regards 

Himanshu Shekhar

https://github.com/himanshub16/