Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmake_minimum_required(VERSION 3.0.0)
- project(server)
- # Normally, you would want to distribute Findrpclib.cmake
- # within your project directory; I wanted to avoid copies
- # of this file here, so I'm just setting the CMake module path.
- # In your project, you don't need the following line:
- include_directories(${CMAKE_SOURCE_DIR}/lib/rpclib/include/)
- add_executable(server main.cc)
- target_link_libraries(server ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/librpc.a pthread)
- set_property(TARGET server PROPERTY CXX_STANDARD 14 )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement