Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.42 KB | None | 0 0
  1. /*
  2. project(testasio C CXX)
  3. cmake_minimum_required(VERSION 2.8)
  4.  
  5. # Only interpret if() arguments as variables or
  6. # keywords when unquoted.
  7. cmake_policy(SET CMP0054 NEW)
  8.  
  9. add_definitions(-DASIO_STANDALONE)
  10.  
  11. include_directories(
  12.   asio-1.10.6/include
  13. )
  14.  
  15. add_executable(main
  16.   main.cpp
  17. )
  18. */
  19.  
  20. // main.cpp
  21.  
  22. #include <asio.hpp>
  23.  
  24. int main()
  25. {
  26.   asio::io_service service;
  27.   service.post([]
  28.   {
  29.   });
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement