Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- project(testasio C CXX)
- cmake_minimum_required(VERSION 2.8)
- # Only interpret if() arguments as variables or
- # keywords when unquoted.
- cmake_policy(SET CMP0054 NEW)
- add_definitions(-DASIO_STANDALONE)
- include_directories(
- asio-1.10.6/include
- )
- add_executable(main
- main.cpp
- )
- */
- // main.cpp
- #include <asio.hpp>
- int main()
- {
- asio::io_service service;
- service.post([]
- {
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement