add_executable(formatter formatter.cpp) target_link_libraries(formatter ${EXTRA_LIBS}) add_test(formatter ${CMAKE_CURRENT_BINARY_DIR}/formatter) add_executable(max_sharing max_sharing.cpp) target_link_libraries(max_sharing ${EXTRA_LIBS}) add_test(max_sharing ${CMAKE_CURRENT_BINARY_DIR}/max_sharing) add_executable(expr_lt expr_lt.cpp) target_link_libraries(expr_lt ${EXTRA_LIBS}) add_test(expr_lt ${CMAKE_CURRENT_BINARY_DIR}/expr_lt) add_executable(deep_copy deep_copy.cpp) target_link_libraries(deep_copy ${EXTRA_LIBS}) add_test(deep_copy ${CMAKE_CURRENT_BINARY_DIR}/deep_copy) add_executable(arith_tst arith.cpp) target_link_libraries(arith_tst ${EXTRA_LIBS}) add_test(arith_tst ${CMAKE_CURRENT_BINARY_DIR}/arith_tst) add_executable(update_expr update_expr.cpp) target_link_libraries(update_expr ${EXTRA_LIBS}) add_test(update_expr ${CMAKE_CURRENT_BINARY_DIR}/update_expr)