From d35c460cc1663b19bd77f007a4af28ddec076910 Mon Sep 17 00:00:00 2001 From: yhirose Date: Thu, 16 Apr 2015 20:10:25 -0400 Subject: [PATCH] Added CMakeLists.txt. --- .gitignore | 6 ++---- CMakeLists.txt | 11 +++++++++++ 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 CMakeLists.txt 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) +