logic: Added PCH support to CDB source groups (issue #311)

* added PCH Flags list and checkbox to reuse compiler flags and cdb flags to source group setup
* added UI tests for C++ and CDB source groups
This commit is contained in:
Eberhard Graether
2019-07-31 00:41:08 +02:00
parent b8d0f88336
commit c6adbab340
45 changed files with 926 additions and 232 deletions
@@ -0,0 +1,10 @@
#ifndef FOO_H
#define FOO_H
#include "FooBar.h"
class Bar : public FooBar
{
};
#endif // FOO_H
@@ -0,0 +1,10 @@
#ifndef BAR_H
#define BAR_H
#include "FooBar.h"
class Foo : public FooBar
{
};
#endif // FOO_BAR_H
@@ -0,0 +1,12 @@
#ifndef FOO_BAR_H
#define FOO_BAR_H
#ifdef COMPILER_FLAG
class FooBar
{
};
#endif
#endif // FOO_BAR_H
@@ -0,0 +1,7 @@
#include "pch.h"
void test()
{
Foo foo;
Bar bar;
}
@@ -0,0 +1,7 @@
#ifdef PCH_FLAG
#include "Foo.h"
#include "Bar.h"
#endif