diff --git a/.gitignore b/.gitignore index 607e252..8c020ec 100644 --- a/.gitignore +++ b/.gitignore @@ -37,8 +37,6 @@ Release *.user xcuserdata *.xcworkspace -calc -calc2 -test -peglint temp* +build/ +Makefile diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..51a5578 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,11 @@ +cmake_minimum_required(VERSION 3.0) +include_directories(.) +add_definitions("-std=c++1y") + +add_executable(peglint lint/peglint.cc) +add_executable(test-main test/test.cc) + +add_executable(calc example/calc.cc) +add_executable(calc2 example/calc2.cc) +add_executable(calc3 example/calc3.cc) +