[
https://issues.apache.org/jira/browse/MESOS-3139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14982994#comment-14982994
]
Frank Scholten commented on MESOS-3139:
---------------------------------------
Checked out ef338465c3f0cec2 and ran the steps
[code]
./bootstrap
mkdir build-cmake && cd build-cmake
cmake ..
make
[code]
and these steps succeed. However I don't see any generated mesos-* binaries
[code]
frank@franktop:~/src/mesos/build-cmake$ find -name mesos*
./src/CMakeFiles/mesos-0.26.0.dir
./src/CMakeFiles/mesos-0.26.0.dir/v1/mesos.cpp.o
./src/CMakeFiles/mesos-0.26.0.dir/slave/containerizer/mesos
./src/CMakeFiles/mesos-0.26.0.dir/__/include/mesos
./src/CMakeFiles/mesos-0.26.0.dir/__/include/mesos/v1/mesos.pb.cc.o
./src/CMakeFiles/mesos-0.26.0.dir/__/include/mesos/mesos.pb.cc.o
./src/CMakeFiles/mesos-0.26.0.dir/master/allocator/mesos
./src/slave/containerizer/mesos
./include/mesos
./include/mesos/v1/mesos.pb.h
./include/mesos/v1/mesos.pb.cc
./include/mesos/mesos.pb.h
./include/mesos/mesos.pb.cc
[/code]
I like to use this feature so I can run the project in Clion
> Incorporate CMake into standard documentation
> ---------------------------------------------
>
> Key: MESOS-3139
> URL: https://issues.apache.org/jira/browse/MESOS-3139
> Project: Mesos
> Issue Type: Task
> Components: cmake
> Reporter: Alex Clemmer
> Assignee: Alex Clemmer
> Labels: build, cmake, mesosphere
>
> Right now it's anyone's guess how to build with CMake. If we want people to
> use it, we should put up documentation. The central challenge is that the
> CMake instructions will be slightly different for different platforms.
> For example, on Linux, the gist of the build is basically the same as
> autotools; you pull down the system dependencies (like APR, _etc_.), and then:
> ```
> ./bootstrap
> mkdir build-cmake && cd build-cmake
> cmake ..
> make
> ```
> But, on Windows, it will be somewhat more complicated. There is no bootstrap
> step, for example, because Windows doesn't have bash natively. And even when
> we put that in, you'll still have to build the glog stuff out-of-band because
> CMake has no way of booting up Visual Studio and calling "build."
> So practically, we need to figure out:
> * What our build story is for different platforms
> * Write specific instructions for our "core" target platforms.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)