-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
6 lines (4 loc) · 2.64 KB
/
CMakeLists.txt
1
2
3
4
5
6
cmake_minimum_required(VERSION 3.9)
project(CompilersAssignment)
set(CMAKE_CXX_STANDARD 11)
add_executable(CompilersAssignment MiniLangI.cpp Lexer/LexerImplementation.cpp Lexer/LexerImplementation.h Lexer/Token.cpp Lexer/Token.h Lexer/State.h Lexer/Keywords.cpp Lexer/Keywords.h Parser/PredictiveParser.cpp Parser/PredictiveParser.h ASTHierarchy/ASTNode.h Visitors/Visitor.h ASTHierarchy/ASTExprNode.h ASTHierarchy/ASTStatementNode.h ASTHierarchy/Expression/ASTBinaryExprNode.cpp ASTHierarchy/Expression/ASTBinaryExprNode.h ASTHierarchy/Expression/ASTNumberExprNode.cpp ASTHierarchy/Expression/ASTNumberExprNode.h ASTHierarchy/Statement/ASTVarDeclStatementNode.cpp ASTHierarchy/Statement/ASTVarDeclStatementNode.h ASTHierarchy/Type.h ASTHierarchy/Statement/ASTAssignStatementNode.cpp ASTHierarchy/Statement/ASTAssignStatementNode.h ASTHierarchy/Statement/ASTPrintStatementNode.cpp ASTHierarchy/Statement/ASTPrintStatementNode.h ASTHierarchy/Statement/ASTBlockStatementNode.cpp ASTHierarchy/Statement/ASTBlockStatementNode.h ASTHierarchy/Statement/ASTIfStatementNode.cpp ASTHierarchy/Statement/ASTIfStatementNode.h ASTHierarchy/Statement/ASTWhileStatementNode.cpp ASTHierarchy/Statement/ASTWhileStatementNode.h ASTHierarchy/Statement/ASTReturnStatementNode.cpp ASTHierarchy/Statement/ASTReturnStatementNode.h ASTHierarchy/Statement/ASTFuncDeclStatementNode.cpp ASTHierarchy/Statement/ASTFuncDeclStatementNode.h ASTHierarchy/Statement/FormalParam.cpp ASTHierarchy/Statement/FormalParam.h ASTHierarchy/Statement/FormalParams.cpp ASTHierarchy/Statement/FormalParams.h ASTHierarchy/Expression/ASTBooleanLiteralExpressionNode.cpp ASTHierarchy/Expression/ASTBooleanLiteralExpressionNode.h ASTHierarchy/Expression/ASTStringLiteralExprNode.cpp ASTHierarchy/Expression/ASTStringLiteralExprNode.h ASTHierarchy/Expression/ASTIdentifierExprNode.cpp ASTHierarchy/Expression/ASTIdentifierExprNode.h ASTHierarchy/Operators.h ASTHierarchy/Expression/ASTSubExprNode.cpp ASTHierarchy/Expression/ASTSubExprNode.h ASTHierarchy/Expression/ASTUnaryExprNode.cpp ASTHierarchy/Expression/ASTUnaryExprNode.h ASTHierarchy/NegationOperator.h ASTHierarchy/Expression/ASTFnCallExprNode.cpp ASTHierarchy/Expression/ASTFnCallExprNode.h ASTHierarchy/Expression/ASTLiteralExprNode.h ASTHierarchy/ASTExprNode.cpp ASTHierarchy/ASTStatementNode.cpp Visitors/XMLGenerator.cpp Visitors/XMLGenerator.h Visitors/SemanticAnalysis.cpp Visitors/SemanticAnalysis.h Visitors/Utilities/TypeBinder.cpp Visitors/Utilities/TypeBinder.h Visitors/Utilities/SymbolTable.cpp Visitors/Utilities/SymbolTable.h Visitors/InterpreterExecutionPass.cpp Visitors/InterpreterExecutionPass.h Exceptions/CompilingErrorException.cpp Exceptions/CompilingErrorException.h)