add_executable(expr_tst expr.cpp) target_link_libraries(expr_tst ${EXTRA_LIBS}) add_test(expr ${CMAKE_CURRENT_BINARY_DIR}/expr_tst) add_executable(normalizer normalizer.cpp) target_link_libraries(normalizer ${EXTRA_LIBS}) add_test(normalizer ${CMAKE_CURRENT_BINARY_DIR}/normalizer) add_executable(threads threads.cpp) target_link_libraries(threads ${EXTRA_LIBS}) add_test(threads ${CMAKE_CURRENT_BINARY_DIR}/threads) add_executable(free_vars free_vars.cpp) target_link_libraries(free_vars ${EXTRA_LIBS}) add_test(free_vars ${CMAKE_CURRENT_BINARY_DIR}/free_vars) add_executable(level level.cpp) target_link_libraries(level ${EXTRA_LIBS}) add_test(level ${CMAKE_CURRENT_BINARY_DIR}/level) add_executable(replace replace.cpp) target_link_libraries(replace ${EXTRA_LIBS}) add_test(replace ${CMAKE_CURRENT_BINARY_DIR}/replace) add_executable(type_checker type_checker.cpp) target_link_libraries(type_checker ${EXTRA_LIBS}) add_test(type_checker ${CMAKE_CURRENT_BINARY_DIR}/type_checker) add_executable(arith arith.cpp) target_link_libraries(arith ${EXTRA_LIBS}) add_test(arith ${CMAKE_CURRENT_BINARY_DIR}/arith) add_executable(environment environment.cpp) target_link_libraries(environment ${EXTRA_LIBS}) add_test(environment ${CMAKE_CURRENT_BINARY_DIR}/environment) add_executable(occurs occurs.cpp) target_link_libraries(occurs ${EXTRA_LIBS}) add_test(occurs ${CMAKE_CURRENT_BINARY_DIR}/occurs)