Advertisement
Guest User

Untitled

a guest
Apr 21st, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. cmake_minimum_required(VERSION 3.0.0)
  2. project(server)
  3.  
  4. # Normally, you would want to distribute Findrpclib.cmake
  5. # within your project directory; I wanted to avoid copies
  6. # of this file here, so I'm just setting the CMake module path.
  7. # In your project, you don't need the following line:
  8.  
  9.  
  10. include_directories(${CMAKE_SOURCE_DIR}/lib/rpclib/include/)
  11.  
  12. add_executable(server main.cc)
  13. target_link_libraries(server ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/librpc.a pthread)
  14. set_property(TARGET server PROPERTY CXX_STANDARD 14 )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement