Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rfc // cmake // use cmake 3 for build #20

Closed
snikulov opened this issue Nov 3, 2016 · 5 comments
Closed

rfc // cmake // use cmake 3 for build #20

snikulov opened this issue Nov 3, 2016 · 5 comments

Comments

@snikulov
Copy link
Contributor

snikulov commented Nov 3, 2016

Can library be switched to cmake v3.1 ?

cmake_minimum_required (VERSION 3.1)

and re-use new features like

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED yes)

etc.

@h4tr3d
Copy link
Owner

h4tr3d commented Nov 3, 2016

Sergei,

thanks for report.

But wait a little: currently it uses on Ubuntu 14.04 installations with
cmake v2.8 by default.

And, as I known, updates not planned due to LTS support ends.

But lib can migrate to the more-less portable solution, like:
https://github.com/h4tr3d/cmakeprojectmanager2/tree/master/wizard/cmake2/cmake/modules

2016-11-04 0:23 GMT+10:00 Sergei Nikulov notifications@github.com:

Can library be switched to cmake v3.1 ?

cmake_minimum_required (VERSION 3.1)

and re-use new features like

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED yes)

etc.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#20, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGOwrAEpXzCqrtYNEae2whEf_T-o0GBks5q6e5NgaJpZM4Koaqs
.

@snikulov
Copy link
Contributor Author

snikulov commented Nov 3, 2016

In fact, cmake can be built from the source without any troubles.
Also bunch of repos provided by simple google search for ex http://askubuntu.com/questions/610291/how-to-install-cmake-3-2-on-ubuntu-14-04 :)

@h4tr3d
Copy link
Owner

h4tr3d commented Nov 3, 2016

It requires for deployment. Any additional step - addition trouble :-)

2016-11-04 0:58 GMT+10:00 Sergei Nikulov notifications@github.com:

In fact, cmake can be built from the source without any troubles.
Also bunch of repos provided by simple google search for ex
http://askubuntu.com/questions/610291/how-to-install-cmake-3-2-on-ubuntu-
14-04 :)


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#20 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAGOwsxoEljMeiAMrw7MEDd-OPub-sLmks5q6faEgaJpZM4Koaqs
.

@h4tr3d
Copy link
Owner

h4tr3d commented Mar 7, 2017

Additional reference: https://crascit.com/2015/03/28/enabling-cxx11-in-cmake/

@h4tr3d
Copy link
Owner

h4tr3d commented Mar 7, 2017

Time to move to 3.1 :-)

@h4tr3d h4tr3d closed this as completed in 5049224 Mar 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants