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:
@@ -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
|
||||
Reference in New Issue
Block a user