CMakeLists.txt 854 Bytes
Newer Older
jhe's avatar
jhe committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
add_executable(
    stu_assign_codegen
    stu_cpp/assign_codegen.cpp
)
target_link_libraries(
    stu_assign_codegen
    IR_lib
    codegen
)

add_executable(
    stu_function_codegen
    stu_cpp/function_codegen.cpp
)
target_link_libraries(
    stu_function_codegen
    IR_lib
    codegen
)

add_executable(
    stu_icmp_codegen
    stu_cpp/icmp_codegen.cpp
)
target_link_libraries(
    stu_icmp_codegen
    IR_lib
    codegen
)

add_executable(
    stu_fcmp_codegen
    stu_cpp/fcmp_codegen.cpp
)
target_link_libraries(
    stu_fcmp_codegen
    IR_lib
    codegen
)

add_executable(
    stu_float_codegen
    stu_cpp/float_codegen.cpp
)
target_link_libraries(
    stu_float_codegen
    IR_lib
    codegen
)

add_executable(
    stu_global_codegen
    stu_cpp/global_codegen.cpp
)
target_link_libraries(
    stu_global_codegen
    IR_lib
    codegen
)