-
Notifications
You must be signed in to change notification settings - Fork 53
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
Add CMake build system. #27
base: master
Are you sure you want to change the base?
Conversation
Hi, thanks for this. I'll have to take a closer look, when cbitcoin is closer to being complete. What benefits does cmake give over make? Maintaining two build systems might be more effort than it is worth. |
cmake is good for creating libraries because cmake provide a builtin command 'find_package' which is pretty cool to find others libraries (and so, it's easier to compile an executable with a library like cbitcoin) |
Okay. I'm going to finish what I'm working on at the moment and I will try to take a closer look at cmake then. One thing it will need is a "test" goal, which runs the tests, which I've implemented with the current Makefile system. |
Great! I'm following this and will have time to give a whirl on Intel32 and PPC64 architectures when your cmake mods are done. |
- Added test to CMakeLists.txt
I added tests in CMakeLists.txt and fixed a small warning I had when compiling testCBScript.c (with clang and -Wall) |
- Updated Doxyfile to doxygen 1.8.4
Hi. I gave this a go but unfortunately there seems to be some linking problems with the dependency libraries when running make:
|
Oh, I don't have this error on Arch (64bits too). |
I know what the issue is. The core library is designed to be separated from the dependency libraries, so that it doesn't need to be linked to them. What I've done is used |
Because cmake is pretty cool :D