Add a CMakeLists file.

This commit is contained in:
Danila Fedorin 2019-06-09 14:02:41 -07:00
parent e039e44592
commit f3be325644
2 changed files with 7 additions and 0 deletions

6
CMakeLists.txt Normal file
View File

@ -0,0 +1,6 @@
cmake_minimum_required(VERSION 3.0)
project(lily)
set(CMAKE_CXX_STANDARD 14)
add_executable(lily src/main.cpp src/parser.cpp src/parser.c)
target_include_directories(lily PUBLIC src)

View File

@ -3,6 +3,7 @@ extern "C" {
}
#include "parser.hpp"
#include "pattern.hpp"
#include <memory>
namespace lily {
std::string tree_str(pgs_tree* tree, const char* source) {