mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-22 20:05:31 +00:00
Added CMakeLists.txt.
This commit is contained in:
parent
8bac879ff9
commit
d35c460cc1
6
.gitignore
vendored
6
.gitignore
vendored
@ -37,8 +37,6 @@ Release
|
|||||||
*.user
|
*.user
|
||||||
xcuserdata
|
xcuserdata
|
||||||
*.xcworkspace
|
*.xcworkspace
|
||||||
calc
|
|
||||||
calc2
|
|
||||||
test
|
|
||||||
peglint
|
|
||||||
temp*
|
temp*
|
||||||
|
build/
|
||||||
|
Makefile
|
||||||
|
11
CMakeLists.txt
Normal file
11
CMakeLists.txt
Normal 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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user