CMakeLists.txt 333 B

12345678910
  1. set(SAMPLE_NAME "WebSocketServer")
  2. set(LOCAL_SRCS "")
  3. aux_source_directory(src LOCAL_SRCS)
  4. add_executable( ${SAMPLE_NAME} ${LOCAL_SRCS} )
  5. if(WINCE)
  6. set_target_properties( ${SAMPLE_NAME} PROPERTIES LINK_FLAGS "/ENTRY:wmainCRTStartup")
  7. endif()
  8. target_link_libraries( ${SAMPLE_NAME} PocoNet PocoUtil PocoJSON PocoXML PocoFoundation )