set(SRC_COMMON utils.c) # configure a header file to pass some of the CMake settings # to the source code configure_file ( "usi2011jjl.h.in" "${PROJECT_BINARY_DIR}/usi2011jjl.h" ) add_executable(usi2011jjl main.c tcpserver.c dispatcher.c ${SRC_COMMON} ) #target_link_libraries(usi2011jjl SDL SDL_net SDL_image)