Commit c23e1cbb144ffc952b114b13cebd4a15d2374f37

  • avatar
  • Julien Wintz <julien.wintz @m…me.com>
  • Tue Jan 15 22:49:34 GMT 2013
Plugin checking complete.
README
(7 / 6)
  
44;; Copyright (C) 2008-2011 - Julien Wintz, Inria.
55;; Created: Tue Jan 15 17:54:13 2013 (+0100)
66;; Version: $Id$
7;; Last-Updated: Tue Jan 15 23:27:42 2013 (+0100)
7;; Last-Updated: Tue Jan 15 23:48:31 2013 (+0100)
88;; By: Julien Wintz
9;; Update #: 35
9;; Update #: 42
1010;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1111
1212Commentary:
4949;; Usage - B
5050;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
5151
52$ cmake -DWITH-E-1 ..
52$ cmake -DWITH-E-1:BOOLEAN=TRUE ..
5353$ make
5454$ ./bin/tstPlugins
5555
5757;; Usage - C
5858;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
5959
60$ cmake -DWITH-E-2 ..
60$ rm CMakeCache.txt
61$ cmake -DWITH-E-2:BOOLEAN=TRUE ..
6162$ make
6263$ ./bin/tstPlugins
6364
6767;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6868
6969A - tstPlugins should successfully load tstPluginA, tstPluginB
70B - tstPlugins should successfully load tstPluginA, tstPluginB, tstPluginE-0.0.1
71C - tstPlugins should successfully load tstPluginA, tstPluginB, tstPluginE-0.0.2 and tstPluginF
70B - tstPlugins should successfully load tstPluginA, tstPluginB, tstPluginE
71C - tstPlugins should successfully load tstPluginA, tstPluginB, tstPluginE and tstPluginF
plugins/CMakeLists.txt
(12 / 2)
  
44## Copyright (C) 2008-2011 - Julien Wintz, Inria.
55## Created: Tue Jan 15 16:50:43 2013 (+0100)
66## Version: $Id$
7## Last-Updated: Tue Jan 15 17:45:45 2013 (+0100)
7## Last-Updated: Tue Jan 15 23:41:13 2013 (+0100)
88## By: Julien Wintz
9## Update #: 4
9## Update #: 6
1010######################################################################
1111##
1212### Commentary:
2121add_subdirectory(tstPluginB)
2222add_subdirectory(tstPluginC)
2323add_subdirectory(tstPluginD)
24
25if(WITH-E-1)
26add_subdirectory(tstPluginE-0.0.1)
27endif(WITH-E-1)
28
29if(WITH-E-2)
30add_subdirectory(tstPluginE-0.0.2)
31endif(WITH-E-2)
32
33add_subdirectory(tstPluginF)
plugins/tstPluginE-0.0.1/CMakeLists.txt
(36 / 0)
  
1### CMakeLists.txt ---
2##
3## Author: Julien Wintz
4## Copyright (C) 2008-2011 - Julien Wintz, Inria.
5## Created: Tue Jan 15 16:51:15 2013 (+0100)
6## Version: $Id$
7## Last-Updated: Tue Jan 15 17:04:44 2013 (+0100)
8## By: Julien Wintz
9## Update #: 17
10######################################################################
11##
12### Commentary:
13##
14######################################################################
15##
16### Change log:
17##
18######################################################################
19
20project(tstPluginE)
21
22set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/plugins)
23set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/plugins)
24set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/plugins)
25
26add_definitions(-DQT_PLUGIN)
27
28add_library(${PROJECT_NAME} SHARED
29 tstPluginE.h
30 tstPluginE.cpp)
31
32qt5_use_modules(${PROJECT_NAME} Core)
33qt5_use_modules(${PROJECT_NAME} Gui)
34qt5_use_modules(${PROJECT_NAME} Widgets)
35
36target_link_libraries(${PROJECT_NAME} tstCore)
plugins/tstPluginE-0.0.1/tstPluginE.cpp
(22 / 0)
  
1/* tstPluginE.cpp ---
2 *
3 * Author: Julien Wintz
4 * Copyright (C) 2008-2011 - Julien Wintz, Inria.
5 * Created: Tue Jan 15 16:54:04 2013 (+0100)
6 * Version: $Id$
7 * Last-Updated: Tue Jan 15 17:23:54 2013 (+0100)
8 * By: Julien Wintz
9 * Update #: 23
10 */
11
12/* Commentary:
13 *
14 */
15
16/* Change log:
17 *
18 */
19
20#include "tstPluginE.h"
21
22Q_PLUGIN_METADATA(IID "fr.inria.tstPlugin")
plugins/tstPluginE-0.0.1/tstPluginE.h
(36 / 0)
  
1/* tstPluginE.h ---
2 *
3 * Author: Julien Wintz
4 * Copyright (C) 2008-2011 - Julien Wintz, Inria.
5 * Created: Tue Jan 15 16:52:52 2013 (+0100)
6 * Version: $Id$
7 * Last-Updated: Tue Jan 15 17:25:26 2013 (+0100)
8 * By: Julien Wintz
9 * Update #: 43
10 */
11
12/* Commentary:
13 *
14 */
15
16/* Change log:
17 *
18 */
19
20#pragma once
21
22#include <tstCore/tstPlugin.h>
23
24#include <QtCore>
25#include <QtDebug>
26
27class tstPluginE : public tstPlugin
28{
29 Q_INTERFACES(tstPlugin)
30 Q_OBJECT
31 Q_PLUGIN_METADATA(IID "fr.inria.tstPlugin" FILE "tstPluginE.json")
32
33public:
34 tstPluginE(void) {}
35 ~tstPluginE(void) {}
36};
plugins/tstPluginE-0.0.1/tstPluginE.json
(5 / 0)
  
1{
2 "name" : "tstPluginE",
3 "version" : "0.0.1",
4 "dependencies" : []
5}
plugins/tstPluginE-0.0.2/CMakeLists.txt
(36 / 0)
  
1### CMakeLists.txt ---
2##
3## Author: Julien Wintz
4## Copyright (C) 2008-2011 - Julien Wintz, Inria.
5## Created: Tue Jan 15 16:51:15 2013 (+0100)
6## Version: $Id$
7## Last-Updated: Tue Jan 15 17:04:44 2013 (+0100)
8## By: Julien Wintz
9## Update #: 17
10######################################################################
11##
12### Commentary:
13##
14######################################################################
15##
16### Change log:
17##
18######################################################################
19
20project(tstPluginE)
21
22set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/plugins)
23set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/plugins)
24set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/plugins)
25
26add_definitions(-DQT_PLUGIN)
27
28add_library(${PROJECT_NAME} SHARED
29 tstPluginE.h
30 tstPluginE.cpp)
31
32qt5_use_modules(${PROJECT_NAME} Core)
33qt5_use_modules(${PROJECT_NAME} Gui)
34qt5_use_modules(${PROJECT_NAME} Widgets)
35
36target_link_libraries(${PROJECT_NAME} tstCore)
plugins/tstPluginE-0.0.2/tstPluginE.cpp
(22 / 0)
  
1/* tstPluginE.cpp ---
2 *
3 * Author: Julien Wintz
4 * Copyright (C) 2008-2011 - Julien Wintz, Inria.
5 * Created: Tue Jan 15 16:54:04 2013 (+0100)
6 * Version: $Id$
7 * Last-Updated: Tue Jan 15 17:23:54 2013 (+0100)
8 * By: Julien Wintz
9 * Update #: 23
10 */
11
12/* Commentary:
13 *
14 */
15
16/* Change log:
17 *
18 */
19
20#include "tstPluginE.h"
21
22Q_PLUGIN_METADATA(IID "fr.inria.tstPlugin")
plugins/tstPluginE-0.0.2/tstPluginE.h
(36 / 0)
  
1/* tstPluginE.h ---
2 *
3 * Author: Julien Wintz
4 * Copyright (C) 2008-2011 - Julien Wintz, Inria.
5 * Created: Tue Jan 15 16:52:52 2013 (+0100)
6 * Version: $Id$
7 * Last-Updated: Tue Jan 15 17:25:26 2013 (+0100)
8 * By: Julien Wintz
9 * Update #: 43
10 */
11
12/* Commentary:
13 *
14 */
15
16/* Change log:
17 *
18 */
19
20#pragma once
21
22#include <tstCore/tstPlugin.h>
23
24#include <QtCore>
25#include <QtDebug>
26
27class tstPluginE : public tstPlugin
28{
29 Q_INTERFACES(tstPlugin)
30 Q_OBJECT
31 Q_PLUGIN_METADATA(IID "fr.inria.tstPlugin" FILE "tstPluginE.json")
32
33public:
34 tstPluginE(void) {}
35 ~tstPluginE(void) {}
36};
plugins/tstPluginE-0.0.2/tstPluginE.json
(5 / 0)
  
1{
2 "name" : "tstPluginE",
3 "version" : "0.0.2",
4 "dependencies" : []
5}
plugins/tstPluginF/CMakeLists.txt
(36 / 0)
  
1### CMakeLists.txt ---
2##
3## Author: Julien Wintz
4## Copyright (C) 2008-2011 - Julien Wintz, Inria.
5## Created: Tue Jan 15 16:51:15 2013 (+0100)
6## Version: $Id$
7## Last-Updated: Tue Jan 15 17:04:44 2013 (+0100)
8## By: Julien Wintz
9## Update #: 17
10######################################################################
11##
12### Commentary:
13##
14######################################################################
15##
16### Change log:
17##
18######################################################################
19
20project(tstPluginF)
21
22set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/plugins)
23set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/plugins)
24set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/plugins)
25
26add_definitions(-DQT_PLUGIN)
27
28add_library(${PROJECT_NAME} SHARED
29 tstPluginF.h
30 tstPluginF.cpp)
31
32qt5_use_modules(${PROJECT_NAME} Core)
33qt5_use_modules(${PROJECT_NAME} Gui)
34qt5_use_modules(${PROJECT_NAME} Widgets)
35
36target_link_libraries(${PROJECT_NAME} tstCore)
plugins/tstPluginF/tstPluginF.cpp
(22 / 0)
  
1/* tstPluginF.cpp ---
2 *
3 * Author: Julien Wintz
4 * Copyright (C) 2008-2011 - Julien Wintz, Inria.
5 * Created: Tue Jan 15 16:54:04 2013 (+0100)
6 * Version: $Id$
7 * Last-Updated: Tue Jan 15 17:23:54 2013 (+0100)
8 * By: Julien Wintz
9 * Update #: 23
10 */
11
12/* Commentary:
13 *
14 */
15
16/* Change log:
17 *
18 */
19
20#include "tstPluginF.h"
21
22Q_PLUGIN_METADATA(IID "fr.inria.tstPlugin")
plugins/tstPluginF/tstPluginF.h
(36 / 0)
  
1/* tstPluginF.h ---
2 *
3 * Author: Julien Wintz
4 * Copyright (C) 2008-2011 - Julien Wintz, Inria.
5 * Created: Tue Jan 15 16:52:52 2013 (+0100)
6 * Version: $Id$
7 * Last-Updated: Tue Jan 15 17:25:26 2013 (+0100)
8 * By: Julien Wintz
9 * Update #: 43
10 */
11
12/* Commentary:
13 *
14 */
15
16/* Change log:
17 *
18 */
19
20#pragma once
21
22#include <tstCore/tstPlugin.h>
23
24#include <QtCore>
25#include <QtDebug>
26
27class tstPluginF : public tstPlugin
28{
29 Q_INTERFACES(tstPlugin)
30 Q_OBJECT
31 Q_PLUGIN_METADATA(IID "fr.inria.tstPlugin" FILE "tstPluginF.json")
32
33public:
34 tstPluginF(void) {}
35 ~tstPluginF(void) {}
36};
plugins/tstPluginF/tstPluginF.json
(7 / 0)
  
1{
2 "name" : "tstPluginF",
3 "version" : "0.0.1",
4 "dependencies" : [
5 { "name" : "tstPluginE", "version" : "0.0.2" }
6 ]
7}

Comments

Add a new comment:

Login or create an account to post a comment

Add your comment