mirror of
https://github.com/PashaBibko/LX.git
synced 2026-04-03 17:39:02 +00:00
Made projects use PCHs
This commit is contained in:
@@ -114,6 +114,8 @@
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>$(SolutionDir)common;$(ProjectDir)inc;$(SolutionDir)IR-Generator\inc</AdditionalIncludeDirectories>
|
||||
<LanguageStandard>stdcpp20</LanguageStandard>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile>LX-Common.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
@@ -130,6 +132,8 @@
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalIncludeDirectories>$(SolutionDir)common;$(ProjectDir)inc;$(SolutionDir)IR-Generator\inc</AdditionalIncludeDirectories>
|
||||
<LanguageStandard>stdcpp20</LanguageStandard>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile>LX-Common.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
@@ -139,6 +143,10 @@
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="inc\pch.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\AST-Constructors.cpp" />
|
||||
<ClCompile Include="src\AST-LLVM.cpp" />
|
||||
<ClCompile Include="src\AST-Loggers.cpp" />
|
||||
|
||||
@@ -32,6 +32,9 @@
|
||||
<ClCompile Include="src\ParserErrors.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="inc\pch.cpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="inc\AST.h">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <Parser.h>
|
||||
|
||||
#include <LX-Common.h>
|
||||
|
||||
#include <Parser.h>
|
||||
|
||||
namespace LX
|
||||
{
|
||||
// Wrapper over the LLVM variables for easier passing around //
|
||||
|
||||
2
Parser/inc/pch.cpp
Normal file
2
Parser/inc/pch.cpp
Normal file
@@ -0,0 +1,2 @@
|
||||
// Wow, such an intresting file. Don't put anything else in here //
|
||||
#include <LX-Common.h>
|
||||
@@ -1,3 +1,5 @@
|
||||
#include <LX-Common.h>
|
||||
|
||||
#include <Parser.h>
|
||||
|
||||
#include <AST.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <Parser.h>
|
||||
|
||||
#include <LX-Common.h>
|
||||
|
||||
#include <Parser.h>
|
||||
|
||||
#include <AST.h>
|
||||
|
||||
namespace LX::AST
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <AST.h>
|
||||
|
||||
#include <LX-Common.h>
|
||||
|
||||
#include <AST.h>
|
||||
|
||||
namespace LX::AST
|
||||
{
|
||||
void MultiNode::Log(std::ofstream* log, unsigned depth)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <Parser.h>
|
||||
|
||||
#include <LX-Common.h>
|
||||
|
||||
#include <Parser.h>
|
||||
|
||||
#include <AST.h>
|
||||
|
||||
namespace LX
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <Parser.h>
|
||||
|
||||
#include <LX-Common.h>
|
||||
|
||||
#include <Parser.h>
|
||||
|
||||
#include <AST.h>
|
||||
|
||||
namespace LX
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <Parser.h>
|
||||
|
||||
#include <LX-Common.h>
|
||||
|
||||
#include <Parser.h>
|
||||
|
||||
namespace LX
|
||||
{
|
||||
void IRGenerationError::PrintToConsole() const
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <Parser.h>
|
||||
|
||||
#include <LX-Common.h>
|
||||
|
||||
#include <Parser.h>
|
||||
|
||||
#include <AST.h>
|
||||
|
||||
namespace LX
|
||||
|
||||
Reference in New Issue
Block a user