cpp-peglib/CMakeLists.txt

28 lines
741 B
CMake
Raw Normal View History

2015-04-17 00:10:25 +00:00
cmake_minimum_required(VERSION 3.0)
include_directories(.)
add_definitions("-std=c++1y")
2015-04-17 00:10:25 +00:00
2015-08-05 14:28:07 +00:00
add_executable(peglint lint/cmdline/peglint.cc)
2015-07-17 00:20:41 +00:00
target_link_libraries(peglint pthread)
2015-08-05 14:28:07 +00:00
add_executable(playground lint/online/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
add_executable(calc example/calc.cc)
2015-07-17 00:20:41 +00:00
target_link_libraries(calc pthread)
add_executable(calc2 example/calc2.cc)
2015-07-17 00:20:41 +00:00
target_link_libraries(calc2 pthread)
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-08-05 12:59:25 +00:00
add_executable(pl0 language/pl0/pl0.cc)
2015-07-30 21:26:06 +00:00
target_link_libraries(pl0 pthread)
2015-08-05 12:59:25 +00:00
add_executable(culebra language/culebra/main.cc)
2015-07-17 00:20:41 +00:00
target_link_libraries(culebra pthread)