Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # CMakeList.txt : Top-level CMake project file, do global configuration
- # and include sub-projects here.
- #
- cmake_minimum_required (VERSION 3.8)
- project ("cloneStream")
- # Locate dependencies
- find_package(Boost COMPONENTS serialization REQUIRED)
- message("Boost Include: ${Boost_INCLUDE_DIRS}")
- include_directories(SYSTEM PUBLIC ${Boost_INCLUDE_DIRS})
- find_package(czmq CONFIG REQUIRED)
- message("CZMQ Include: ${czmq_DIR}")
- # Include sub-projects.
- add_subdirectory ("certificateCreator")
- add_subdirectory ("cloneClient")
- add_subdirectory ("cloneOrigin")
- add_subdirectory ("cloneProxy")
- # CMakeList.txt : CMake project for clone_origin, include source and define
- # project specific logic here.
- #
- cmake_minimum_required (VERSION 3.8)
- # Add source to this project's executable.
- add_executable (cloneOrigin "cloneOrigin.cpp" "origin.h" "preprocessorchecks")
- target_link_libraries(cloneOrigin PRIVATE czmq czmq-static ${Boost_LIBRARIES})
- # CMakeList.txt : CMake project for clone_proxy, include source and define
- # project specific logic here.
- #
- cmake_minimum_required (VERSION 3.8)
- # Add source to this project's executable.
- add_executable (cloneProxy "cloneProxy.cpp" "preprocessorchecks")
- target_link_libraries(cloneProxy PRIVATE czmq czmq-static)
- # CMakeList.txt : CMake project for clone_client, include source and define
- # project specific logic here.
- #
- cmake_minimum_required (VERSION 3.8)
- # Add source to this project's executable.
- add_executable (cloneClient "cloneClient.cpp" "client.h" "listener.h" "DataProcessingFunctor.h" "preprocessorchecks")
- target_link_libraries(cloneClient PRIVATE czmq czmq-static ${Boost_LIBRARIES})
Add Comment
Please, Sign In to add comment