[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-22 Thread Igor Sapego (Jira)


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

Igor Sapego commented on IGNITE-13078:
--

[~ivandasch] looks good to me.

> С++: 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
>
> Attachments: ignite-13078-dynamic-odbc.patch, 
> ignite-13078-static-odbc.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, it is hard to build Ignite.C++. Different build processes for 
> windows and Linux, lack of building support on Mac OS X (a quite popular OS 
> among developers), absolutely not IDE support, except windows and only Visual 
> Studio is supported.
> I’d suggest migrating to the CMake build system. It is very popular among 
> open source projects, and in The Apache Software Foundation too. Notable 
> users: Apache Mesos, Apache Zookeeper (C client offers CMake as an 
> alternative to autoconf and the 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-22 Thread Igor Sapego (Jira)


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

Igor Sapego commented on IGNITE-13078:
--

Created separate ticket for Windows support: IGNITE-13174

> С++: 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
>
> Attachments: ignite-13078-dynamic-odbc.patch, 
> ignite-13078-static-odbc.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, it is hard to build Ignite.C++. Different build processes for 
> windows and Linux, lack of building support on Mac OS X (a quite popular OS 
> among developers), absolutely not IDE support, except windows and only Visual 
> Studio is supported.
> I’d suggest migrating to the CMake build system. It is very popular among 
> open source projects, and in The Apache Software Foundation too. Notable 
> users: Apache Mesos, Apache Zookeeper (C client offers CMake as an 
> alternative to autoconf and the 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-22 Thread Peter Ivanov (Jira)


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

Peter Ivanov commented on IGNITE-13078:
---

Added to aitc-lin01_01 for tests. Check that build works at that agent.
If OK — will install on other agents.

> С++: 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
>
> Attachments: ignite-13078-dynamic-odbc.patch, 
> ignite-13078-static-odbc.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, it is hard to build Ignite.C++. Different build processes for 
> windows and Linux, lack of building support on Mac OS X (a quite popular OS 
> among developers), absolutely not IDE support, except windows and only Visual 
> Studio is supported.
> I’d suggest migrating to the CMake build system. It is very popular among 
> open source projects, and in The Apache Software Foundation too. Notable 
> users: Apache Mesos, Apache Zookeeper (C client offers CMake as an 
> alternative to autoconf and the 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-10 Thread Ivan Daschinskiy (Jira)


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

Ivan Daschinskiy commented on IGNITE-13078:
---

[~isapego] Absolutely agree. I suggests a completely replacement of VS and 
autotools with CMake as a main goal of this initiative. We should discuss the 
next steps (TC builds, replacement etc.) may be privately by telegram or 
videocall? May be group chat with others members?

> С++: 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
>
> Attachments: ignite-13078-dynamic-odbc.patch, 
> ignite-13078-static-odbc.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, it is hard to build Ignite.C++. Different build processes for 
> windows and Linux, lack of building support on Mac OS X (a quite popular OS 
> among developers), absolutely not IDE support, except windows and only Visual 
> Studio is supported.
> I’d suggest migrating to the CMake build system. It is very popular among 
> open source projects, and in The Apache Software Foundation too. Notable 
> users: Apache Mesos, Apache Zookeeper (C client offers CMake as an 
> alternative to autoconf and the 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-09 Thread Igor Sapego (Jira)


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

Igor Sapego commented on IGNITE-13078:
--

[~ivandasch] By the way, can we also add a TC job which will check CMake build 
on Windows? I believe, we need it anyway if we want to make sure that new 
commits won't break compilation on Windows. Here are env variables which should 
be set on Windows for CMake to be able to locate all the dependencies:

BOOST_INCLUDEDIR

BOOST_LIBRARYDIR

OPENSSL_ROOT_DIR

 

> С++: 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
>
> Attachments: ignite-13078-dynamic-odbc.patch, 
> ignite-13078-static-odbc.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, it is hard to build Ignite.C++. Different build processes for 
> windows and Linux, lack of building support on Mac OS X (a quite popular OS 
> among developers), absolutely not IDE support, except windows and only Visual 
> Studio is supported.
> I’d suggest migrating to the CMake build system. It is very popular among 
> open source projects, and in The Apache Software Foundation too. Notable 
> users: Apache Mesos, Apache Zookeeper (C client offers CMake as an 
> alternative to autoconf and the 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-09 Thread Igor Sapego (Jira)


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

Igor Sapego commented on IGNITE-13078:
--

[~ivandasch] yes, for windows static linking of boost libraries is used usually 
as it is just much more easy. As for {{Boost_USE_MULTITHREADED}} – it is used 
just to make sure that the right variant of libraries is used (non-mt libraries 
often do not present in boost binaries by default). If it's ON by default, I 
believe we can remove those lines.

Support of WiX is a good thing, maybe should implement it in future.

> С++: 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
>
> Attachments: ignite-13078-dynamic-odbc.patch, 
> ignite-13078-static-odbc.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, it is hard to build Ignite.C++. Different build processes for 
> windows and Linux, lack of building support on Mac OS X (a quite popular OS 
> among developers), absolutely not IDE support, except windows and only Visual 
> Studio is supported.
> I’d suggest migrating to the CMake build system. It is very popular among 
> open source projects, and in The Apache Software Foundation too. Notable 
> users: Apache Mesos, Apache Zookeeper (C client offers CMake as an 
> alternative to autoconf and the 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-08 Thread Ivan Daschinskiy (Jira)


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

Ivan Daschinskiy commented on IGNITE-13078:
---

Current autotools build system builds odbc driver linking dynamically to other 
ignite libs. I use same approach. I only change examples build, linking against 
installed libraries. This is more logical, because this resembles actual user 
experience. I think that for win32 it's ok link statically for odbc driver. 

> С++: 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
>
> Attachments: ignite-13078-dynamic-odbc.patch, 
> ignite-13078-static-odbc.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, it is hard to build Ignite.C++. Different build processes for 
> windows and Linux, lack of building support on Mac OS X (a quite popular OS 
> among developers), absolutely not IDE support, except windows and only Visual 
> Studio is supported.
> I’d suggest migrating to the CMake build system. It is very popular among 
> open source projects, and in The Apache Software Foundation too. Notable 
> users: Apache Mesos, Apache Zookeeper (C client offers CMake as an 
> alternative to autoconf and the 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-08 Thread Igor Sapego (Jira)


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

Igor Sapego commented on IGNITE-13078:
--

Ok, there is one more thing that should be discussed and handled. Currently, at 
least on Windows ODBC driver compiled using static libraries which allows to 
install it as a single library. Should we compile it using the same approach 
with CMake, or should we switch to installing ODBC driver along with 
libignite-common, libignite-network and libignite-binary?

Attach patches with both solutions:

[^ignite-13078-static-odbc.patch]

[^ignite-13078-dynamic-odbc.patch]

Also, have not tried to compile examples yet. Will try tomorrow. 

> С++: 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
>
> Attachments: ignite-13078-dynamic-odbc.patch, 
> ignite-13078-static-odbc.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, it is hard to build Ignite.C++. Different build processes for 
> windows and Linux, lack of building support on Mac OS X (a quite popular OS 
> among developers), absolutely not IDE support, except windows and only Visual 
> Studio is supported.
> I’d suggest migrating to the CMake build system. It is very popular among 
> open source projects, and in The Apache Software Foundation too. Notable 
> users: Apache Mesos, Apache Zookeeper (C client offers CMake as an 
> alternative to autoconf and the 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-08 Thread Igor Sapego (Jira)


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

Igor Sapego commented on IGNITE-13078:
--

[~ivandasch] yeah, I'll provide a patch for Windows soon.

> С++: 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 processes for 
> windows and Linux, lack of building support on Mac OS X (a quite popular OS 
> among developers), absolutely not IDE support, except windows and only Visual 
> Studio is supported.
> I’d suggest migrating to the CMake build system. It is very popular among 
> open source projects, and in The Apache Software Foundation too. Notable 
> users: Apache Mesos, Apache Zookeeper (C client offers CMake as an 
> alternative to autoconf and the 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-08 Thread Ivan Daschinskiy (Jira)


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

Ivan Daschinskiy commented on IGNITE-13078:
---

[~isapego] Is any progress with testing and review? Do I need some more fixes? 

> С++: 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 processes for 
> windows and Linux, lack of building support on Mac OS X (a quite popular OS 
> among developers), absolutely not IDE support, except windows and only Visual 
> Studio is supported.
> I’d suggest migrating to the CMake build system. It is very popular among 
> open source projects, and in The Apache Software Foundation too. Notable 
> users: Apache Mesos, Apache Zookeeper (C client offers CMake as an 
> alternative to autoconf and the 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-04 Thread Ivan Daschinskiy (Jira)


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

Ivan Daschinskiy commented on IGNITE-13078:
---

[~isapego]
3. In last commit I add check if tests directories exists and if not -- just go 
ahead. Even if user add options WITH_TESTS=ON, no error occurs.

> С++: 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-04 Thread Igor Sapego (Jira)


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

Igor Sapego commented on IGNITE-13078:
--

3. I know they are optional, but e.g. autotools would return an error on 
attempt to generate Makefile if those directories are missing even if they are 
disabled. I hope with CMake this is not the case, but needs to be tested, imo. 
I'll do it today.

4. Good. Yes, I've seen mention that it modified.

Yeah, I like that a lot. Though you need to spend some time configuring project 
on windows - one needs to set env variables for it to be able to find Boost, 
OpenSSL and so on. I'll going to gather all requirements today and comment 
about them. I believe, we need to mention them in devnotes.

> С++: 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-04 Thread Ivan Daschinskiy (Jira)


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

Ivan Daschinskiy commented on IGNITE-13078:
---

[~isapego] I fixed issues 1-3, but for 4 I need some assistance from 
[~dmitry.pavlov]

[~dpavlov], is it correct addition to LICENSE file? Could you please verify 
this text?

 
{code}
Index: LICENSE
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===
--- LICENSE (revision 31c8f436d2717d6c544ea1d59b3a65c55231c511)
+++ LICENSE (date 1591261766827)
@@ -243,3 +243,9 @@
 almost no restrictions whatsoever.  You may copy it, give it away or
 re-use it under the terms of the Project Gutenberg License included
 with this eBook or online at www.gutenberg.org
+
+==
+For CMake script FindODBC.cmake in C++ module.
+==
+This module contains modified FindODBC.cmake script from CMake distribution,
+which is available under a "3-clause BSD" license. For details, see 
https://cmake.org/licensing.
\ No newline at end of file

{code}

> С++: 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-03 Thread Ivan Daschinskiy (Jira)


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

Ivan Daschinskiy commented on IGNITE-13078:
---

[~isapego] Thank you for review

1. Ok, got it.
2. It seems that I forgot to remove link to odbcinst, it should work with 
${ODBC_LIBBRARY}
3. Tests are optional, but its possible to add check if directory exists
4. I have consultancy with [~dmitry.pavlov], he said that its absolutely ok, 
but one more notice in LICENCE should be added. Actually, I changed this script 
a little bit in order to be compatible with older cmake 3


It's nice to heat, that it works with VS without big issues. I don't expect 
this, but it seems that we go to right direction and finally our project will 
have unified cross platform build system. 


> С++: 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-03 Thread Igor Sapego (Jira)


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

Igor Sapego commented on IGNITE-13078:
--

[~ivandasch]

Checked it on CentOS 7 and Windows with CLion and msvc 15. See my comments 
below:
 # Let's change minimal required version of Boost. Now it is set to 1.56 but 
CentOS's 7 default is 1.53 and everything works just fine with it.
 # We try to link to ODBC driver to odbcinst but this is only component of 
unixODBC. There is no so lib on Windows, nor when iODBC is used AFAIK. Need to 
add a check. Also, why don't we link {{${ODBC_LIBRARIES}}} provided by FindOBDC?
 # I'm not sure though, how will it work in binary package, where some of the 
directories are missing (like tests). Have anyone tested it?
 # FindODBC which is included in project is lecensed with BSD License. Is it 
compatible with Apache License?

By the way, I faced some compilation errors when building with msvc 15 on 
Windows. Filed a ticked: IGNITE-13116

I'm also planning to do some more testing on Windows with tests. Will keep you 
posted.

> С++: 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-03 Thread Ivan Daschinskiy (Jira)


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

Ivan Daschinskiy commented on IGNITE-13078:
---

Ok, I'd think a little bit how to rewrite this paragraph to be more 
understandable. May be you suggestion is the best variant. 

> С++: 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-03 Thread Ilya Kasnacheev (Jira)


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

Ilya Kasnacheev commented on IGNITE-13078:
--

It's even more possible to make a mistake since I'm viewing it with `less` 
before trying to build sources, so I don't see any benefit of markdown.

> С++: 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-03 Thread Ivan Daschinskiy (Jira)


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

Ivan Daschinskiy commented on IGNITE-13078:
---

[~ilyak] May be it's worth to rewrite it in markdown format? In markdown, it's 
impossible to make mistake with double dot. And it is more readable even 
without rendering (IMO)

> С++: 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-03 Thread Ilya Kasnacheev (Jira)


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

Ilya Kasnacheev commented on IGNITE-13078:
--

Now that's too complex. Ideally, copy-paste should Just Work. Maybe we put 
simpler approach to README, document more options to DEVNOTES.

> С++: 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-02 Thread Ivan Daschinskiy (Jira)


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

Ivan Daschinskiy commented on IGNITE-13078:
---

Yes, I agree with you. I'd suggest to write something like ${IGNITE_CPP_DIR}. 
And, even better, rewrite doc in markdown

> С++: 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-02 Thread Ilya Kasnacheev (Jira)


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

Ilya Kasnacheev commented on IGNITE-13078:
--

[~ivandasch] Please see above. It was not completely obvious that path 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-02 Thread Ivan Daschinskiy (Jira)


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

Ivan Daschinskiy commented on IGNITE-13078:
---

You can in fact add full path at the end

> С++: 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-02 Thread Ilya Kasnacheev (Jira)


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

Ilya Kasnacheev commented on IGNITE-13078:
--

Okay, okay, I get it, I have missed `..' at the end. After I do that, it works 
OK.

Can we update the following line:
{code}
 * cmake -DCMAKE_BUILD_TYPE=[Release|Debug] 
[-DCMAKE_INSTALL_PREFIX=] ..
{code}

to 

{code}
 * cmake .. -DCMAKE_BUILD_TYPE=[Release|Debug] 
[-DCMAKE_INSTALL_PREFIX=]
{code}

to make it more apparent?

> С++: 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-02 Thread Ivan Daschinskiy (Jira)


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

Ivan Daschinskiy commented on IGNITE-13078:
---

@ilyak you forgot two dots at the end

> С++: 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-02 Thread Ilya Kasnacheev (Jira)


[ 
https://issues.apache.org/jira/browse/IGNITE-13078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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=] ..
{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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-02 Thread Ivan Daschinskiy (Jira)


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

Ivan Daschinskiy commented on IGNITE-13078:
---

[~ilyak] Ilya, I've added cmake-build-release and cmake-build-debug to 
.gitignore, it should works. I've emphasized in README this fact. As a build 
step, you should create specific directory, change one of these directory as 
current, and run cmake  .. in it. It is common to create special 
subdirectory withthese namings (actually, build directory can be everywhere and 
with arbitrary name), many projects use this convention, CLion automatically 
creates these directories.

> С++: 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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-06-02 Thread Ilya Kasnacheev (Jira)


[ 
https://issues.apache.org/jira/browse/IGNITE-13078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)


[jira] [Commented] (IGNITE-13078) С++: Add CMake build support

2020-05-29 Thread Ivan Daschinskiy (Jira)


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

Ivan Daschinskiy commented on IGNITE-13078:
---

[~isapego] I suppose that patch is ready for review. Could you please review 
it? All TC passed, some users from user list checked on different linux 
versions. I myself checked it on ubuntu with cmake 2.6, 2.17 and boost 1.67, 
1.72, on mac os checked with cmake 2.6, 2.17 and boost 1.72.

> С++: 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)