Details
-
Wish
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
OS: Dentos 7
Mesos: github master
build system: CMake & Ninja
Description
How to start new project with Mesos?
I see only option is to inject my sources into Mesos sources.
Why still Mesos targets are not exported ?
I started with this and after some minor changes i stuck with grpc include directories problem...
install(
TARGETS mesos;process;mesos-protobufs;stout;boost;elfio;picojson;rapidjson;grpc
EXPORT mesos-cmake
ARCHIVE DESTINATION lib/
LIBRARY DESTINATION lib/
RUNTIME DESTINATION bin/
INCLUDES DESTINATION include)
#install(
# DIRECTORY ${PROJECT_SOURCE_DIR}/include/
# DESTINATION include
# FILES_MATCHING PATTERN "*.*hpp")
install(
EXPORT mesos-cmake
FILE mesos-config.cmake
NAMESPACE mesos::
DESTINATION share/mesos/cmake)
Goal:
find_package(mesos 1.7.0 REQUIRED) add_executable(main main.cxx) target_link_libraries(main PRIVATE mesos::mesos)
Attachments
Issue Links
- is related to
-
MESOS-3249 Implement FindMesos cmake module.
- Accepted