diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a9650f..791cab0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,11 +3,22 @@ include_directories(.) add_definitions("-std=c++1y") add_executable(peglint lint/peglint.cc) +target_link_libraries(peglint pthread) + add_executable(playground lint/playground/main.cc) +target_link_libraries(playground pthread) + add_executable(test-main test/test.cc) +target_link_libraries(test-main pthread) add_executable(calc example/calc.cc) +target_link_libraries(calc pthread) + add_executable(calc2 example/calc2.cc) +target_link_libraries(calc2 pthread) + add_executable(calc3 example/calc3.cc) +target_link_libraries(calc3 pthread) add_executable(culebra language/main.cc language/repl.cc language/interpreter.cc language/parser.cc) +target_link_libraries(culebra pthread)