ADD_EXECUTABLE(ex1 ex1.c) TARGET_LINK_LIBRARIES(ex1 ${COMMON_LIBRARIES}) ADD_EXECUTABLE(ex2 ex2.c) TARGET_LINK_LIBRARIES(ex2 ${COMMON_LIBRARIES})