CMakeLists.txt 496 B

12345678910111213
  1. add_executable(tty-test EXCLUDE_FROM_ALL tty-test.c)
  2. target_link_libraries(tty-test ${LIBUV_LIBRARIES})
  3. add_executable(shell-test EXCLUDE_FROM_ALL shell-test.c)
  4. add_executable(printargs-test EXCLUDE_FROM_ALL printargs-test.c)
  5. add_executable(printenv-test EXCLUDE_FROM_ALL printenv-test.c)
  6. if(WIN32)
  7. set_target_properties(printenv-test PROPERTIES LINK_FLAGS -municode)
  8. endif()
  9. add_executable(streams-test EXCLUDE_FROM_ALL streams-test.c)
  10. target_link_libraries(streams-test ${LIBUV_LIBRARIES})