[ 
https://issues.apache.org/jira/browse/IGNITE-13078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17123969#comment-17123969
 ] 

Ilya Kasnacheev commented on IGNITE-13078:
------------------------------------------

[~ivandasch] I think this means that DEVNOTES is not correct:

{code}
Building and installing the Apache Ignite C++ components:
 * Navigate to the directory $IGNITE_HOME/platforms/cpp
 * Execute the following commands one by one to build the project:
 * mkdir cmake-build-[release|debug]
 * cd ./cmake-build-[release|debug]
 * cmake -DCMAKE_BUILD_TYPE=[Release|Debug] 
[-DCMAKE_INSTALL_PREFIX=<install_dir>] ..
{code}

but

{code}
~/w/incubator-ignite/modules/platforms/cpp% mkdir cmake-build-release
~/w/incubator-ignite/modules/platforms/cpp% cd cmake-build-release
~/w/incubator-ignite/modules/platforms/cpp/cmake-build-release% cmake 
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~ -DWITH_ODBC=ON 
-DWITH_THIN_CLIENT=ON
CMake Error: The source directory 
"/home/gridgain/w/incubator-ignite/modules/platforms/cpp/cmake-build-release" 
does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
{code}
What's wrong? From the cpp/ directory it builds.

> С++: Add CMake build support
> ----------------------------
>
>                 Key: IGNITE-13078
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13078
>             Project: Ignite
>          Issue Type: Improvement
>          Components: platforms
>            Reporter: Ivan Daschinskiy
>            Assignee: Ivan Daschinskiy
>            Priority: Major
>             Fix For: 2.9
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, it is hard to build Ignite.C++. Different build process for 
> windows and linux, lack of building support on Mac OS X (quite popular OS 
> among developers), absolutely not IDE support, except windows and only Visual 
> Studio is supported.
> I’d suggest to migrate to CMake build system. It is very popular among open 
> source projects, and in Apache Software Foundation too. Notable user: Apache 
> Mesos, Apache Zookeeper (C client offers CMake as an alternative to autoconf 
> and only option on windows), Apache Kafka (librdkafka - C/C++ client), Apache 
> Thrift. Popular column-oriented database ClickHouse also uses CMake.
> CMake is widely supported in many IDE’s on various platforms, notably Visual 
> Studio, CLion, Xcode, QtCreator, KDevelop.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to