-
Notifications
You must be signed in to change notification settings - Fork 650
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
CMake cleanup & MinGW support #1706
Conversation
What I really dislike about this PR is the huge load of new CMake modules. Is that really necessary? I'm all for simplifying the build process, but adding 3kLoC only for replacing |
Well, I kind of agree with you. I was not sure about adding those files, neither. In the meantime, I have come to an idea that would support older CMake 3 versions, and would not require so many supporting files. This PR was not just about replacing |
Being able to "fallback" to old C++ |
Yes, you are right. Both versions would have to be present. Mostly, lowering requirements for the most common use case, making the build easier for the curious user. The technical trad-off is of course the need to keep the both versions in sync. On the other hand, it seems to me that this would be of no serious concern, because the functionality of |
6fc89b3
to
4243473
Compare
Hey Monkeys, It's me again. I was working the fix for the Here is what is updated since the initial commit.
This project requires updated version of |
3e2df2e
to
dea362c
Compare
Travis complained:
Need to merge bitshares/bitshares-fc#121 first, then bump FC? |
See comment above:
|
dea362c
to
91f7695
Compare
91f7695
to
1b61278
Compare
bitshares/bitshares-fc#121 has been merged, please rebase and bump fc. |
I have failed to compile the most up-to-date, There is some other refactoring in the Excerpt from compilation log:
After fixing this, another issues with It seems to me, that the |
Right, sorry. |
@crypto-ape please rebase on latest develop. #1789 has been merged in so there shouldn't be conflicts anymore. |
@pmconrad Working on it. Will push tomorrow if nothing unexpected happens. |
@crypto-ape any chance to get this done today ? we will want to include this in the current release that we are closing today. I can try to fix conflicts but will be better if you can take it. Thank you very much and let us know. |
1b61278
to
f6578fd
Compare
@oxarbitrage I have pushed the changes, hopefully it will build. Otherwise, |
@oxarbitrage, @pmconrad It is done, hopefully it is enough for now. |
It's likely that we'll process this PR after merged #1992 which bumps FC, so the FC bump in this PR will be unneeded. |
Merged #1992, please rebase on latest develop (again, sorry) and get rid of the fc bump. |
e638a01
to
5c0f62e
Compare
6d73f3b
to
65f1138
Compare
@pmconrad please review, updated according to your suggestions. I have tested, seems to work on all platforms, except for the problem with |
- fixes linking `pthread` for all Boost versions
65f1138
to
32c297e
Compare
Thanks! |
Hey Monkeys!
I have cleaned up the CMake scripts for the main project also, and made some improvements:
Python helpers:
cat-parts
andembed_genesis
helpers into PythonGENERATING_HELPERS
CMake parameterI have also enabled code fortification mechanisms
Related: bitshares/bitshares-fc#121
Ape out!