Add a CMakeLists file.
This commit is contained in:
parent
e039e44592
commit
f3be325644
6
CMakeLists.txt
Normal file
6
CMakeLists.txt
Normal 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)
|
|
@ -3,6 +3,7 @@ extern "C" {
|
||||||
}
|
}
|
||||||
#include "parser.hpp"
|
#include "parser.hpp"
|
||||||
#include "pattern.hpp"
|
#include "pattern.hpp"
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
namespace lily {
|
namespace lily {
|
||||||
std::string tree_str(pgs_tree* tree, const char* source) {
|
std::string tree_str(pgs_tree* tree, const char* source) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user