2015-04-17 00:10:25 +00:00
|
|
|
cmake_minimum_required(VERSION 3.0)
|
|
|
|
include_directories(.)
|
2015-07-30 21:23:31 +00:00
|
|
|
add_definitions("-std=c++1y")
|
2015-04-17 00:10:25 +00:00
|
|
|
|
|
|
|
add_executable(peglint lint/peglint.cc)
|
2015-07-17 00:20:41 +00:00
|
|
|
target_link_libraries(peglint pthread)
|
|
|
|
|
2015-07-15 21:26:01 +00:00
|
|
|
add_executable(playground lint/playground/main.cc)
|
2015-07-17 00:20:41 +00:00
|
|
|
target_link_libraries(playground pthread)
|
|
|
|
|
2015-04-17 00:10:25 +00:00
|
|
|
add_executable(test-main test/test.cc)
|
2015-07-17 00:20:41 +00:00
|
|
|
target_link_libraries(test-main pthread)
|
2015-04-17 00:10:25 +00:00
|
|
|
|
2015-06-13 01:06:54 +00:00
|
|
|
add_executable(calc example/calc.cc)
|
2015-07-17 00:20:41 +00:00
|
|
|
target_link_libraries(calc pthread)
|
|
|
|
|
2015-06-13 01:06:54 +00:00
|
|
|
add_executable(calc2 example/calc2.cc)
|
2015-07-17 00:20:41 +00:00
|
|
|
target_link_libraries(calc2 pthread)
|
|
|
|
|
2015-06-13 01:06:54 +00:00
|
|
|
add_executable(calc3 example/calc3.cc)
|
2015-07-17 00:20:41 +00:00
|
|
|
target_link_libraries(calc3 pthread)
|
2015-04-17 00:10:25 +00:00
|
|
|
|
2015-07-30 21:26:06 +00:00
|
|
|
add_executable(pl0 example/pl0.cc)
|
|
|
|
target_link_libraries(pl0 pthread)
|
|
|
|
|
2015-07-28 10:47:18 +00:00
|
|
|
add_executable(culebra language/main.cc)
|
2015-07-17 00:20:41 +00:00
|
|
|
target_link_libraries(culebra pthread)
|