Added CMakeLists.txt.

This commit is contained in:
yhirose 2015-04-16 20:10:25 -04:00
parent 8bac879ff9
commit d35c460cc1
2 changed files with 13 additions and 4 deletions

6
.gitignore vendored
View File

@ -37,8 +37,6 @@ Release
*.user
xcuserdata
*.xcworkspace
calc
calc2
test
peglint
temp*
build/
Makefile

11
CMakeLists.txt Normal file
View File

@ -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)