-
-
Notifications
You must be signed in to change notification settings - Fork 318
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
Gentoo-originating build system fixes #100
Conversation
Support appending ABI-specific suffix to libdir as needed for install on multilib systems. This is done via LIB_SUFFIX variable that is used in some other CMake projects.
Fix the stubgen output filename and #include to use the 'abstractstubserver.h' as defined as OUTPUT and listed in README.
Remove duplicate HTTP_SERVER and HTTP_CLIENT conditions inside examples since all examples are conditional to them.
Include examples/CMakeLists.txt independently of COMPILE_EXAMPLES conditional, use it to restrict building programs inside that file. This makes sure that the stub building rules are available for tests even when building examples is disabled. Fixes: #101
Remove the explicit code handling building shared and static libraries, and instead let CMake choose the correct kind of libraries to build based on BUILD_SHARED_LIBS. Fixes: #99
Use correct ${CMAKE_BINARY_DIR}/gen paths for dependencies on generated stubs. This ensures that CMake correctly regenerates them only if jsonrpcstub or the spec file changes.
Ok, that should be all fixes I can think of right now :). |
I haven't run this yet, but generally looks good to me ;) |
@mgorny thank you for all your contributions. I already gave up on the rebuilding of generated files :D. Haven't tested it yet just looked quickly through your commits. Great work, thanks 👍! I will have to review and test it in more detail tomorrow. Especially the remove of the static lib version. I think it would be a good idea to switch it off/on independently. I agree with that. A few more wishes from me:
Thanks again :) |
Ok, updated AUTHORS and CHANGELOG as well as I could, and opened #102. Not sure how the two branches are developed, so leaving this open in case the changes can end up being backported independently. |
Thank you for rebasing to develop. After all issues are fixed, develop will soon become merged into the new master and 0.5 will get released. |
So far:
LIB_SUFFIX
support to build correctly on multilib systems,abstractstubserver.h
typo fix for consistency and reduced confusion,