GCC Code Coverage Report


Directory: ./
File: src/PCMakeListsGenerator.cpp
Date: 2025-04-25 19:10:50
Exec Total Coverage
Lines: 0 215 0.0%
Branches: 0 52 0.0%

Line Branch Exec Source
1 /***************************************
2 Auteur : Pierre Aubert
3 Mail : pierre.aubert@lapp.in2p3.fr
4 Licence : CeCILL-C
5 ****************************************/
6
7 #include "PCMakeListsGenerator.h"
8
9 ///Constructor of class PCMakeLibrary
10 PCMakeLibrary::PCMakeLibrary(){
11 initialisationPCMakeLibrary();
12 }
13
14 ///Copy Constructor of class PCMakeLibrary
15 /** @param other : PCMakeLibrary we want ot copy
16 */
17 PCMakeLibrary::PCMakeLibrary(const PCMakeLibrary & other){
18 copyPCMakeLibrary(other);
19 }
20
21 ///Destructor of class PCMakeLibrary
22 PCMakeLibrary::~PCMakeLibrary(){
23
24 }
25
26 ///Operator = of class PCMakeLibrary
27 /** @param other : PCMakeLibrary we want ot copy
28 * @return copied class PCMakeLibrary
29 */
30 PCMakeLibrary & PCMakeLibrary::operator = (const PCMakeLibrary & other){
31 copyPCMakeLibrary(other);
32 return *this;
33 }
34
35 ///Sets the name of the PCMakeLibrary
36 /** @param name : name of the PCMakeLibrary
37 */
38 void PCMakeLibrary::setName(const PString & name){
39 p_name = name;
40 }
41
42 ///Sets the installDirectory of the PCMakeLibrary
43 /** @param installDirectory : installDirectory of the PCMakeLibrary
44 */
45 void PCMakeLibrary::setInstallDirectory(const PPath & installDirectory){
46 p_installDirectory = installDirectory;
47 }
48
49 ///Sets the listLibDependecies of the PCMakeLibrary
50 /** @param listLibDependecies : listLibDependecies of the PCMakeLibrary
51 */
52 void PCMakeLibrary::setListLibDependecies(const PVecString & listLibDependecies){
53 p_listLibDependecies = listLibDependecies;
54 }
55
56 ///Sets the listSources of the PCMakeLibrary
57 /** @param listSources : listSources of the PCMakeLibrary
58 */
59 void PCMakeLibrary::setListSources(const PVecPath & listSources){
60 p_listSources = listSources;
61 }
62
63 ///Sets the listHeaders of the PCMakeLibrary
64 /** @param listHeaders : listHeaders of the PCMakeLibrary
65 */
66 void PCMakeLibrary::setListHeaders(const PVecPath & listHeaders){
67 p_listHeaders = listHeaders;
68 }
69
70 ///Sets the removeDefinitions of the PCMakeLibrary
71 /** @param removeDefinitions : removeDefinitions of the PCMakeLibrary
72 */
73 void PCMakeLibrary::setRemoveDefinitions(const PString & removeDefinitions){
74 p_removeDefinitions = removeDefinitions;
75 }
76
77 ///Sets the addDefinitions of the PCMakeLibrary
78 /** @param addDefinitions : addDefinitions of the PCMakeLibrary
79 */
80 void PCMakeLibrary::setAddDefinitions(const PString & addDefinitions){
81 p_addDefinitions = addDefinitions;
82 }
83
84 ///Sets the otherCommandAfter of the PCMakeLibrary
85 /** @param otherCommandAfter : otherCommandAfter of the PCMakeLibrary
86 */
87 void PCMakeLibrary::setOtherCommandAfter(const PString & otherCommandAfter){
88 p_otherCommandAfter = otherCommandAfter;
89 }
90
91 ///Sets the isShared of the PCMakeLibrary
92 /** @param isShared : isShared of the PCMakeLibrary
93 */
94 void PCMakeLibrary::setIsShared(bool isShared){
95 p_isShared = isShared;
96 }
97
98 ///Sets the wantGenerateFindPackage of the PCMakeLibrary
99 /** @param wantGenerateFindPackage : wantGenerateFindPackage of the PCMakeLibrary
100 */
101 void PCMakeLibrary::setWantGenerateFindPackage(bool wantGenerateFindPackage){
102 p_wantGenerateFindPackage = wantGenerateFindPackage;
103 }
104
105 ///Gets the name of the PCMakeLibrary
106 /** @return name of the PCMakeLibrary
107 */
108 const PString & PCMakeLibrary::getName() const{
109 return p_name;
110 }
111
112 ///Gets the name of the PCMakeLibrary
113 /** @return name of the PCMakeLibrary
114 */
115 PString & PCMakeLibrary::getName(){
116 return p_name;
117 }
118
119 ///Gets the installDirectory of the PCMakeLibrary
120 /** @return installDirectory of the PCMakeLibrary
121 */
122 const PPath & PCMakeLibrary::getInstallDirectory() const{
123 return p_installDirectory;
124 }
125
126 ///Gets the installDirectory of the PCMakeLibrary
127 /** @return installDirectory of the PCMakeLibrary
128 */
129 PPath & PCMakeLibrary::getInstallDirectory(){
130 return p_installDirectory;
131 }
132
133 ///Gets the listLibDependecies of the PCMakeLibrary
134 /** @return listLibDependecies of the PCMakeLibrary
135 */
136 const PVecString & PCMakeLibrary::getListLibDependecies() const{
137 return p_listLibDependecies;
138 }
139
140 ///Gets the listLibDependecies of the PCMakeLibrary
141 /** @return listLibDependecies of the PCMakeLibrary
142 */
143 PVecString & PCMakeLibrary::getListLibDependecies(){
144 return p_listLibDependecies;
145 }
146
147 ///Gets the listSources of the PCMakeLibrary
148 /** @return listSources of the PCMakeLibrary
149 */
150 const PVecPath & PCMakeLibrary::getListSources() const{
151 return p_listSources;
152 }
153
154 ///Gets the listSources of the PCMakeLibrary
155 /** @return listSources of the PCMakeLibrary
156 */
157 PVecPath & PCMakeLibrary::getListSources(){
158 return p_listSources;
159 }
160
161 ///Gets the listHeaders of the PCMakeLibrary
162 /** @return listHeaders of the PCMakeLibrary
163 */
164 const PVecPath & PCMakeLibrary::getListHeaders() const{
165 return p_listHeaders;
166 }
167
168 ///Gets the listHeaders of the PCMakeLibrary
169 /** @return listHeaders of the PCMakeLibrary
170 */
171 PVecPath & PCMakeLibrary::getListHeaders(){
172 return p_listHeaders;
173 }
174
175 ///Gets the removeDefinitions of the PCMakeLibrary
176 /** @return removeDefinitions of the PCMakeLibrary
177 */
178 const PString & PCMakeLibrary::getRemoveDefinitions() const{
179 return p_removeDefinitions;
180 }
181
182 ///Gets the removeDefinitions of the PCMakeLibrary
183 /** @return removeDefinitions of the PCMakeLibrary
184 */
185 PString & PCMakeLibrary::getRemoveDefinitions(){
186 return p_removeDefinitions;
187 }
188
189 ///Gets the addDefinitions of the PCMakeLibrary
190 /** @return addDefinitions of the PCMakeLibrary
191 */
192 const PString & PCMakeLibrary::getAddDefinitions() const{
193 return p_addDefinitions;
194 }
195
196 ///Gets the addDefinitions of the PCMakeLibrary
197 /** @return addDefinitions of the PCMakeLibrary
198 */
199 PString & PCMakeLibrary::getAddDefinitions(){
200 return p_addDefinitions;
201 }
202
203 ///Gets the otherCommandAfter of the PCMakeLibrary
204 /** @return otherCommandAfter of the PCMakeLibrary
205 */
206 const PString & PCMakeLibrary::getOtherCommandAfter() const{
207 return p_otherCommandAfter;
208 }
209
210 ///Gets the otherCommandAfter of the PCMakeLibrary
211 /** @return otherCommandAfter of the PCMakeLibrary
212 */
213 PString & PCMakeLibrary::getOtherCommandAfter(){
214 return p_otherCommandAfter;
215 }
216
217 ///Gets the isShared of the PCMakeLibrary
218 /** @return isShared of the PCMakeLibrary
219 */
220 bool PCMakeLibrary::getIsShared() const{
221 return p_isShared;
222 }
223
224 ///Gets the isShared of the PCMakeLibrary
225 /** @return isShared of the PCMakeLibrary
226 */
227 bool & PCMakeLibrary::getIsShared(){
228 return p_isShared;
229 }
230
231 ///Gets the wantGenerateFindPackage of the PCMakeLibrary
232 /** @return wantGenerateFindPackage of the PCMakeLibrary
233 */
234 bool PCMakeLibrary::getWantGenerateFindPackage() const{
235 return p_wantGenerateFindPackage;
236 }
237
238 ///Gets the wantGenerateFindPackage of the PCMakeLibrary
239 /** @return wantGenerateFindPackage of the PCMakeLibrary
240 */
241 bool & PCMakeLibrary::getWantGenerateFindPackage(){
242 return p_wantGenerateFindPackage;
243 }
244
245 ///Copy Function of class PCMakeLibrary
246 /** @param other : PCMakeLibrary we want ot copy
247 */
248 void PCMakeLibrary::copyPCMakeLibrary(const PCMakeLibrary & other){
249 p_name = other.p_name;
250 p_installDirectory = other.p_installDirectory;
251 p_listLibDependecies = other.p_listLibDependecies;
252 p_listSources = other.p_listSources;
253 p_listHeaders = other.p_listHeaders;
254 p_removeDefinitions = other.p_removeDefinitions;
255 p_addDefinitions = other.p_addDefinitions;
256 p_otherCommandAfter = other.p_otherCommandAfter;
257 p_isShared = other.p_isShared;
258 p_wantGenerateFindPackage = other.p_wantGenerateFindPackage;
259 }
260
261 ///Initialisation Function of class PCMakeLibrary
262 void PCMakeLibrary::initialisationPCMakeLibrary(){
263 p_isShared = false;
264 p_wantGenerateFindPackage = false;
265 }
266
267 ///Constructor of class PCMakeExecutable
268 PCMakeExecutable::PCMakeExecutable(){
269 initialisationPCMakeExecutable();
270 }
271
272 ///Copy Constructor of class PCMakeExecutable
273 /** @param other : PCMakeExecutable we want ot copy
274 */
275 PCMakeExecutable::PCMakeExecutable(const PCMakeExecutable & other){
276 copyPCMakeExecutable(other);
277 }
278
279 ///Destructor of class PCMakeExecutable
280 PCMakeExecutable::~PCMakeExecutable(){
281
282 }
283
284 ///Operator = of class PCMakeExecutable
285 /** @param other : PCMakeExecutable we want ot copy
286 * @return copied class PCMakeExecutable
287 */
288 PCMakeExecutable & PCMakeExecutable::operator = (const PCMakeExecutable & other){
289 copyPCMakeExecutable(other);
290 return *this;
291 }
292
293 ///Sets the name of the PCMakeExecutable
294 /** @param name : name of the PCMakeExecutable
295 */
296 void PCMakeExecutable::setName(const PString & name){
297 p_name = name;
298 }
299
300 ///Sets the installDirectory of the PCMakeExecutable
301 /** @param installDirectory : installDirectory of the PCMakeExecutable
302 */
303 void PCMakeExecutable::setInstallDirectory(const PPath & installDirectory){
304 p_installDirectory = installDirectory;
305 }
306
307 ///Sets the listDependecies of the PCMakeExecutable
308 /** @param listDependecies : listDependecies of the PCMakeExecutable
309 */
310 void PCMakeExecutable::setListDependecies(const PVecString & listDependecies){
311 p_listDependecies = listDependecies;
312 }
313
314 ///Sets the listSources of the PCMakeExecutable
315 /** @param listSources : listSources of the PCMakeExecutable
316 */
317 void PCMakeExecutable::setListSources(const PVecPath & listSources){
318 p_listSources = listSources;
319 }
320
321 ///Sets the removeDefinitions of the PCMakeExecutable
322 /** @param removeDefinitions : removeDefinitions of the PCMakeExecutable
323 */
324 void PCMakeExecutable::setRemoveDefinitions(const PString & removeDefinitions){
325 p_removeDefinitions = removeDefinitions;
326 }
327
328 ///Sets the addDefinitions of the PCMakeExecutable
329 /** @param addDefinitions : addDefinitions of the PCMakeExecutable
330 */
331 void PCMakeExecutable::setAddDefinitions(const PString & addDefinitions){
332 p_addDefinitions = addDefinitions;
333 }
334
335 ///Sets the otherCommandAfter of the PCMakeExecutable
336 /** @param otherCommandAfter : otherCommandAfter of the PCMakeExecutable
337 */
338 void PCMakeExecutable::setOtherCommandAfter(const PString & otherCommandAfter){
339 p_otherCommandAfter = otherCommandAfter;
340 }
341
342 ///Sets the wantGenerateFindPackage of the PCMakeExecutable
343 /** @param wantGenerateFindPackage : wantGenerateFindPackage of the PCMakeExecutable
344 */
345 void PCMakeExecutable::setWantGenerateFindPackage(bool wantGenerateFindPackage){
346 p_wantGenerateFindPackage = wantGenerateFindPackage;
347 }
348
349 ///Gets the name of the PCMakeExecutable
350 /** @return name of the PCMakeExecutable
351 */
352 const PString & PCMakeExecutable::getName() const{
353 return p_name;
354 }
355
356 ///Gets the name of the PCMakeExecutable
357 /** @return name of the PCMakeExecutable
358 */
359 PString & PCMakeExecutable::getName(){
360 return p_name;
361 }
362
363 ///Gets the installDirectory of the PCMakeExecutable
364 /** @return installDirectory of the PCMakeExecutable
365 */
366 const PPath & PCMakeExecutable::getInstallDirectory() const{
367 return p_installDirectory;
368 }
369
370 ///Gets the installDirectory of the PCMakeExecutable
371 /** @return installDirectory of the PCMakeExecutable
372 */
373 PPath & PCMakeExecutable::getInstallDirectory(){
374 return p_installDirectory;
375 }
376
377 ///Gets the listDependecies of the PCMakeExecutable
378 /** @return listDependecies of the PCMakeExecutable
379 */
380 const PVecString & PCMakeExecutable::getListDependecies() const{
381 return p_listDependecies;
382 }
383
384 ///Gets the listDependecies of the PCMakeExecutable
385 /** @return listDependecies of the PCMakeExecutable
386 */
387 PVecString & PCMakeExecutable::getListDependecies(){
388 return p_listDependecies;
389 }
390
391 ///Gets the listSources of the PCMakeExecutable
392 /** @return listSources of the PCMakeExecutable
393 */
394 const PVecPath & PCMakeExecutable::getListSources() const{
395 return p_listSources;
396 }
397
398 ///Gets the listSources of the PCMakeExecutable
399 /** @return listSources of the PCMakeExecutable
400 */
401 PVecPath & PCMakeExecutable::getListSources(){
402 return p_listSources;
403 }
404
405 ///Gets the removeDefinitions of the PCMakeExecutable
406 /** @return removeDefinitions of the PCMakeExecutable
407 */
408 const PString & PCMakeExecutable::getRemoveDefinitions() const{
409 return p_removeDefinitions;
410 }
411
412 ///Gets the removeDefinitions of the PCMakeExecutable
413 /** @return removeDefinitions of the PCMakeExecutable
414 */
415 PString & PCMakeExecutable::getRemoveDefinitions(){
416 return p_removeDefinitions;
417 }
418
419 ///Gets the addDefinitions of the PCMakeExecutable
420 /** @return addDefinitions of the PCMakeExecutable
421 */
422 const PString & PCMakeExecutable::getAddDefinitions() const{
423 return p_addDefinitions;
424 }
425
426 ///Gets the addDefinitions of the PCMakeExecutable
427 /** @return addDefinitions of the PCMakeExecutable
428 */
429 PString & PCMakeExecutable::getAddDefinitions(){
430 return p_addDefinitions;
431 }
432
433 ///Gets the otherCommandAfter of the PCMakeExecutable
434 /** @return otherCommandAfter of the PCMakeExecutable
435 */
436 const PString & PCMakeExecutable::getOtherCommandAfter() const{
437 return p_otherCommandAfter;
438 }
439
440 ///Gets the otherCommandAfter of the PCMakeExecutable
441 /** @return otherCommandAfter of the PCMakeExecutable
442 */
443 PString & PCMakeExecutable::getOtherCommandAfter(){
444 return p_otherCommandAfter;
445 }
446
447 ///Gets the wantGenerateFindPackage of the PCMakeExecutable
448 /** @return wantGenerateFindPackage of the PCMakeExecutable
449 */
450 bool PCMakeExecutable::getWantGenerateFindPackage() const{
451 return p_wantGenerateFindPackage;
452 }
453
454 ///Gets the wantGenerateFindPackage of the PCMakeExecutable
455 /** @return wantGenerateFindPackage of the PCMakeExecutable
456 */
457 bool & PCMakeExecutable::getWantGenerateFindPackage(){
458 return p_wantGenerateFindPackage;
459 }
460
461 ///Copy Function of class PCMakeExecutable
462 /** @param other : PCMakeExecutable we want ot copy
463 */
464 void PCMakeExecutable::copyPCMakeExecutable(const PCMakeExecutable & other){
465 p_name = other.p_name;
466 p_installDirectory = other.p_installDirectory;
467 p_listDependecies = other.p_listDependecies;
468 p_listSources = other.p_listSources;
469 p_removeDefinitions = other.p_removeDefinitions;
470 p_addDefinitions = other.p_addDefinitions;
471 p_otherCommandAfter = other.p_otherCommandAfter;
472 p_wantGenerateFindPackage = other.p_wantGenerateFindPackage;
473 }
474
475 ///Initialisation Function of class PCMakeExecutable
476 void PCMakeExecutable::initialisationPCMakeExecutable(){
477 p_wantGenerateFindPackage = false;
478 }
479
480 ///Constructor of class PCMakeListsGenerator
481 PCMakeListsGenerator::PCMakeListsGenerator(){
482 initialisationPCMakeListsGenerator();
483 }
484
485 ///Copy Constructor of class PCMakeListsGenerator
486 /** @param other : PCMakeListsGenerator we want ot copy
487 */
488 PCMakeListsGenerator::PCMakeListsGenerator(const PCMakeListsGenerator & other){
489 copyPCMakeListsGenerator(other);
490 }
491
492 ///Destructor of class PCMakeListsGenerator
493 PCMakeListsGenerator::~PCMakeListsGenerator(){
494
495 }
496
497 ///Operator = of class PCMakeListsGenerator
498 /** @param other : PCMakeListsGenerator we want ot copy
499 * @return copied class PCMakeListsGenerator
500 */
501 PCMakeListsGenerator & PCMakeListsGenerator::operator = (const PCMakeListsGenerator & other){
502 copyPCMakeListsGenerator(other);
503 return *this;
504 }
505
506 ///Sets the projectName of the PCMakeListsGenerator
507 /** @param projectName : projectName of the PCMakeListsGenerator
508 */
509 void PCMakeListsGenerator::setProjectName(const PString & projectName){
510 p_projectName = projectName;
511 }
512
513 ///Sets the cmakeModulePath of the PCMakeListsGenerator
514 /** @param cmakeModulePath : cmakeModulePath of the PCMakeListsGenerator
515 */
516 void PCMakeListsGenerator::setCmakeModulePath(const PPath & cmakeModulePath){
517 p_cmakeModulePath = cmakeModulePath;
518 }
519
520 ///Sets the listPackage of the PCMakeListsGenerator
521 /** @param listPackage : listPackage of the PCMakeListsGenerator
522 */
523 void PCMakeListsGenerator::setListPackage(const PVecString & listPackage){
524 p_listPackage = listPackage;
525 }
526
527 ///Sets the listIncludeDirectories of the PCMakeListsGenerator
528 /** @param listIncludeDirectories : listIncludeDirectories of the PCMakeListsGenerator
529 */
530 void PCMakeListsGenerator::setListIncludeDirectories(const PVecPath & listIncludeDirectories){
531 p_listIncludeDirectories = listIncludeDirectories;
532 }
533
534 ///Sets the listLinkDirecories of the PCMakeListsGenerator
535 /** @param listLinkDirecories : listLinkDirecories of the PCMakeListsGenerator
536 */
537 void PCMakeListsGenerator::setListLinkDirecories(const PVecPath & listLinkDirecories){
538 p_listLinkDirecories = listLinkDirecories;
539 }
540
541 ///Sets the listLibraries of the PCMakeListsGenerator
542 /** @param listLibraries : listLibraries of the PCMakeListsGenerator
543 */
544 void PCMakeListsGenerator::setListLibraries(const std::vector<PCMakeLibrary> & listLibraries){
545 p_listLibraries = listLibraries;
546 }
547
548 ///Sets the listExecutable of the PCMakeListsGenerator
549 /** @param listExecutable : listExecutable of the PCMakeListsGenerator
550 */
551 void PCMakeListsGenerator::setListExecutable(const std::vector<PCMakeExecutable> & listExecutable){
552 p_listExecutable = listExecutable;
553 }
554
555 ///Sets the testDirectory of the PCMakeListsGenerator
556 /** @param testDirectory : testDirectory of the PCMakeListsGenerator
557 */
558 void PCMakeListsGenerator::setTestDirectory(const PPath & testDirectory){
559 p_testDirectory = testDirectory;
560 }
561
562 ///Gets the projectName of the PCMakeListsGenerator
563 /** @return projectName of the PCMakeListsGenerator
564 */
565 const PString & PCMakeListsGenerator::getProjectName() const{
566 return p_projectName;
567 }
568
569 ///Gets the projectName of the PCMakeListsGenerator
570 /** @return projectName of the PCMakeListsGenerator
571 */
572 PString & PCMakeListsGenerator::getProjectName(){
573 return p_projectName;
574 }
575
576 ///Gets the cmakeModulePath of the PCMakeListsGenerator
577 /** @return cmakeModulePath of the PCMakeListsGenerator
578 */
579 const PPath & PCMakeListsGenerator::getCmakeModulePath() const{
580 return p_cmakeModulePath;
581 }
582
583 ///Gets the cmakeModulePath of the PCMakeListsGenerator
584 /** @return cmakeModulePath of the PCMakeListsGenerator
585 */
586 PPath & PCMakeListsGenerator::getCmakeModulePath(){
587 return p_cmakeModulePath;
588 }
589
590 ///Gets the listPackage of the PCMakeListsGenerator
591 /** @return listPackage of the PCMakeListsGenerator
592 */
593 const PVecString & PCMakeListsGenerator::getListPackage() const{
594 return p_listPackage;
595 }
596
597 ///Gets the listPackage of the PCMakeListsGenerator
598 /** @return listPackage of the PCMakeListsGenerator
599 */
600 PVecString & PCMakeListsGenerator::getListPackage(){
601 return p_listPackage;
602 }
603
604 ///Gets the listIncludeDirectories of the PCMakeListsGenerator
605 /** @return listIncludeDirectories of the PCMakeListsGenerator
606 */
607 const PVecPath & PCMakeListsGenerator::getListIncludeDirectories() const{
608 return p_listIncludeDirectories;
609 }
610
611 ///Gets the listIncludeDirectories of the PCMakeListsGenerator
612 /** @return listIncludeDirectories of the PCMakeListsGenerator
613 */
614 PVecPath & PCMakeListsGenerator::getListIncludeDirectories(){
615 return p_listIncludeDirectories;
616 }
617
618 ///Gets the listLinkDirecories of the PCMakeListsGenerator
619 /** @return listLinkDirecories of the PCMakeListsGenerator
620 */
621 const PVecPath & PCMakeListsGenerator::getListLinkDirecories() const{
622 return p_listLinkDirecories;
623 }
624
625 ///Gets the listLinkDirecories of the PCMakeListsGenerator
626 /** @return listLinkDirecories of the PCMakeListsGenerator
627 */
628 PVecPath & PCMakeListsGenerator::getListLinkDirecories(){
629 return p_listLinkDirecories;
630 }
631
632 ///Gets the listLibraries of the PCMakeListsGenerator
633 /** @return listLibraries of the PCMakeListsGenerator
634 */
635 const std::vector<PCMakeLibrary> & PCMakeListsGenerator::getListLibraries() const{
636 return p_listLibraries;
637 }
638
639 ///Gets the listLibraries of the PCMakeListsGenerator
640 /** @return listLibraries of the PCMakeListsGenerator
641 */
642 std::vector<PCMakeLibrary> & PCMakeListsGenerator::getListLibraries(){
643 return p_listLibraries;
644 }
645
646 ///Gets the listExecutable of the PCMakeListsGenerator
647 /** @return listExecutable of the PCMakeListsGenerator
648 */
649 const std::vector<PCMakeExecutable> & PCMakeListsGenerator::getListExecutable() const{
650 return p_listExecutable;
651 }
652
653 ///Gets the listExecutable of the PCMakeListsGenerator
654 /** @return listExecutable of the PCMakeListsGenerator
655 */
656 std::vector<PCMakeExecutable> & PCMakeListsGenerator::getListExecutable(){
657 return p_listExecutable;
658 }
659
660 ///Gets the testDirectory of the PCMakeListsGenerator
661 /** @return testDirectory of the PCMakeListsGenerator
662 */
663 const PPath & PCMakeListsGenerator::getTestDirectory() const{
664 return p_testDirectory;
665 }
666
667 ///Gets the testDirectory of the PCMakeListsGenerator
668 /** @return testDirectory of the PCMakeListsGenerator
669 */
670 PPath & PCMakeListsGenerator::getTestDirectory(){
671 return p_testDirectory;
672 }
673
674 ///Copy Function of class PCMakeListsGenerator
675 /** @param other : PCMakeListsGenerator we want ot copy
676 */
677 void PCMakeListsGenerator::copyPCMakeListsGenerator(const PCMakeListsGenerator & other){
678 p_projectName = other.p_projectName;
679 p_cmakeModulePath = other.p_cmakeModulePath;
680 p_listPackage = other.p_listPackage;
681 p_listIncludeDirectories = other.p_listIncludeDirectories;
682 p_listLinkDirecories = other.p_listLinkDirecories;
683 p_listLibraries = other.p_listLibraries;
684 p_listExecutable = other.p_listExecutable;
685 p_testDirectory = other.p_testDirectory;
686 }
687
688 ///Initialisation Function of class PCMakeListsGenerator
689 void PCMakeListsGenerator::initialisationPCMakeListsGenerator(){
690
691 }
692
693