1 2 3 4 5 6 7 8 9 10 11
cmake_minimum_required(VERSION 2.8) add_definitions("--std=c99 -Wall") include_directories(${CMAKE_SOURCE_DIR}/src) add_executable(enum enum.c) add_executable(grab grab.c) target_link_libraries(enum uca) target_link_libraries(grab uca)