7 lines
238 B
CMake
7 lines
238 B
CMake
foreach(PROG dot copy reduce)
|
|
set(TARGET unit_${PROG})
|
|
add_executable(${TARGET} ${PROG}.cc)
|
|
set_target_properties(${TARGET} PROPERTIES OUTPUT_NAME ${TARGET})
|
|
target_link_libraries(${TARGET} triton dl)
|
|
endforeach(PROG)
|