You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cpp-peglib/CMakeLists.txt

25 lines
713 B

cmake_minimum_required(VERSION 3.0)
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)