redex
redex copied to clipboard
A bunch of small changes in cmake.
- Whole-archive was broken for gcc, it requires a closing block after the library.
- Pthread library was missing, linking was failing. Add it to cmake. I hope that cmake version bumping is ok. Please check windows cmake compilation after this, I don't have one to do it myself.
- Implement the simplest possible packaging task for redex-all into redex bundle.
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed.
If you have received this in error or have any questions, please contact us at [email protected]. Thanks!
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!
@igor-eremeev Thanks for the suggestions!
- Thanks. I will test and incorporate your change.
- I will remove pthread instead (we'd like to minimize dependencies). Any reason why you want to bump CMake version?
- I was considering CPack for installation. Your approach seems interesting. I will consider it.
Thanks for reply!
Any reason why you want to bump CMake version?
No, it was only for simplicity of adding pthreads via this new shiny "Threads::Threads" thing, which is 3.1.0+. If pthreads are not an issue anymore, then just discard this :)