You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ilya Kasnacheev (Jira)" <ji...@apache.org> on 2020/06/02 10:46:00 UTC
[jira] [Commented] (IGNITE-13078) С++: Add CMake build support
[ https://issues.apache.org/jira/browse/IGNITE-13078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17123624#comment-17123624 ]
Ilya Kasnacheev commented on IGNITE-13078:
------------------------------------------
[~ivandasch] I have noticed that after successful builds, git has a lot of untracked files:
{code}
modules/platforms/cpp/CMakeCache.txt
modules/platforms/cpp/CMakeFiles/
modules/platforms/cpp/binary/CMakeFiles/
modules/platforms/cpp/binary/cmake_install.cmake
modules/platforms/cpp/binary/libignite-binary.so
modules/platforms/cpp/binary/libignite-binary.so.2.9.0.42453
modules/platforms/cpp/cmake_install.cmake
modules/platforms/cpp/common/CMakeFiles/
modules/platforms/cpp/common/cmake_install.cmake
modules/platforms/cpp/common/libignite-common.so
modules/platforms/cpp/common/libignite-common.so.2.9.0.42453
modules/platforms/cpp/core/CMakeFiles/
modules/platforms/cpp/core/cmake_install.cmake
modules/platforms/cpp/core/libignite.so
modules/platforms/cpp/core/libignite.so.2.9.0.42453
modules/platforms/cpp/ignite/CMakeFiles/
modules/platforms/cpp/ignite/cmake_install.cmake
modules/platforms/cpp/install_manifest.txt
modules/platforms/cpp/jni/CMakeFiles/
modules/platforms/cpp/jni/cmake_install.cmake
modules/platforms/cpp/jni/libignite-jni.so
modules/platforms/cpp/jni/libignite-jni.so.2.9.0.42453
modules/platforms/cpp/network/CMakeFiles/
modules/platforms/cpp/network/cmake_install.cmake
modules/platforms/cpp/network/libignite-network.so
modules/platforms/cpp/network/libignite-network.so.2.9.0.42453
modules/platforms/cpp/odbc/CMakeFiles/
modules/platforms/cpp/odbc/cmake_install.cmake
modules/platforms/cpp/odbc/libignite-odbc.so
modules/platforms/cpp/odbc/libignite-odbc.so.2.9.0.42453
modules/platforms/cpp/thin-client/CMakeFiles/
modules/platforms/cpp/thin-client/cmake_install.cmake
modules/platforms/cpp/thin-client/libignite-thin-client.so
modules/platforms/cpp/thin-client/libignite-thin-client.so.2.9.0.42453
{code}
We should match them with patterns, add to .gitignore
It's weird that they're not in .gitignore, we should match them with patterns and ignore. Possibly some changes to cmake process is needed.
> С++: 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)