-
Notifications
You must be signed in to change notification settings - Fork 97
CMake conversion #432
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
base: master
Are you sure you want to change the base?
CMake conversion #432
Conversation
This reverts commit 6303419.
…e old one, but haven't gotten too far
ghost
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nevermind I accidentally reverted something I'll make a new pr
|
Ok, this should be fine now. It doesn't interfere with the current build system, and will not need to until it works fully, we can move the configure script into the main directory once it is in a good working state. |
|
I have a error: |
|
Very nice! I haven't dug in too much yet, but I've run into the same problem as @rdnvndr. |
|
Ah, yes gitignore was hiding it. To be clear this is still very experimental and will need a good amount of work to finish porting all the features, specifically the configure switches which almost all do nothing as of yet. but the script cmake/configure has some basic ideas sketched out for how to accomplish it, and I can work more on it later. There are still some platform checks that need to be actually implemented as well, but most things are in place and work. At least I can compile it and it works well enough to warrant sending this to you as experimental for others to hack and get working perfectly 😄 |
|
It works, but without localization. @Israel- need your help ;-) |
|
Ok... this works much better with @rdnvndr fixing the translations code. There is still work to be done to make everything work the same as before. |
|
@joewing I am working on the configure script and was wondering what of these options do we not need? |
…e CMakeLists correctly for usage via command-line (i.e. -DOPTION:TYPE=VALUE)
|
The problem repeated: |
|
@rdnvndr you are absolutely correct. The configure script is my compatibility layer for the current autoconf stuff. You can try it now, it should work better. I am still not sure if some of those options are needed, like: There are also a few minor issues with detecting some things still in the cmakelists, but it is getting a lot closer, thanks for your help @rdnvndr ! |
Add a check of variable value in CMake
|
@joewing Can you provide more information on what options the configure script actually needs? |
|
I know this is an old PR, but would it be more productive to add In gtkdialog we have autotools and meson coexisting. |
So this is the basic initial start to a cmake conversion. the configure script is currently located in the cmake folder and needs a ton of work. That said, you can:
mkdir bin
cd bin
cmake ..
make
And it works (at least for me) I have a bunch of the autoconf stuff built into cmake, but this is incomplete but a good place to start 😄