add_executable(type_inferer type_inferer.cpp) target_link_libraries(type_inferer ${EXTRA_LIBS}) add_test(type_inferer ${CMAKE_CURRENT_BINARY_DIR}/type_inferer) 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(reduce reduce.cpp) target_link_libraries(reduce ${EXTRA_LIBS}) add_test(reduce ${CMAKE_CURRENT_BINARY_DIR}/reduce) 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(replace_using_ctx replace_using_ctx.cpp) target_link_libraries(replace_using_ctx ${EXTRA_LIBS}) add_test(replace_using_ctx ${CMAKE_CURRENT_BINARY_DIR}/replace_using_ctx)