-
Notifications
You must be signed in to change notification settings - Fork 909
CMake #20
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 #20
Conversation
Hi, i also have my own private branch that shares the same goal.
|
|
For example, FreeBSD ports and pkgsrc supports CMake as build system. What we need is just saying USE_CMAKE=yes in their recipe so the system would take care remaining things (adding cmake itself in our build dependencies, invoke CMake configuration with cmake command, ...) Unfortunately, most binary-package-minded packaging systems such as RPM has no direct support. We have to re-package if we drop autotools. |
We RPM packagers really don't have need to use both building systems at the same time. We just build it and use it. |
+1 for this, any reason why this shouldn't go through? Even if autotools are not removed CMake would be a big help for windows - e.g. build with MSVC or Mingw. |
msgpack#20 Removed 'preprocess' from original CMakeLists.txt. Removed file copy from original CMakeLists.txt. Removed 'preprocess' from bootstrap. Removed file copy from bootstrap. Added erb generated files. Ruby is no longer required. Moved cases.mpac, cases_compact.mpa, pack_define.h, pack_template.h, unpack_define.h, unpack_template.h, and sysdep.h to apropriate location. If you want to re-generate zone.hpp, define.hpp, and tuple.hpp, then you execute preprocess.
msgpack#20 Removed 'preprocess' from original CMakeLists.txt. Removed file copy from original CMakeLists.txt. Removed 'preprocess' from bootstrap. Removed file copy from bootstrap. Added erb generated files. Ruby is no longer required. Moved cases.mpac, cases_compact.mpa, pack_define.h, pack_template.h, unpack_define.h, unpack_template.h, and sysdep.h to apropriate location. If you want to re-generate zone.hpp, define.hpp, and tuple.hpp, then you execute preprocess.
msgpack#20 Removed 'preprocess' from original CMakeLists.txt. Removed file copy from original CMakeLists.txt. Removed 'preprocess' from bootstrap. Removed file copy from bootstrap. Added erb generated files. Ruby is no longer required. Moved cases.mpac, cases_compact.mpa, pack_define.h, pack_template.h, unpack_define.h, unpack_template.h, and sysdep.h to apropriate location. If you want to re-generate zone.hpp, define.hpp, and tuple.hpp, then you execute preprocess.
Solved by #87 . Thanks! |
Ok. I hope you can release 0.59 soon. |
Hello,
Here is my attempt to "cmakify" msgpack-c library. The support is basic and there is still few things to do (like INSTALL command, removing Makefiles, automake scripts and so on) thought you are able to build msgpack library in your project using ADD_SUBDIRECTORY. This was my primary goal.
Preprocess script is fully integrated within CMake script. It calls Ruby that generates header files.
I have also removed Visual Studio projects and solutions which are completely useless now. To generate Visual Studio solution you have to run CMake with proper -G switch.