Switch to cmake build system #279

Open
caryoscelus opened this Issue Nov 4, 2016 · 9 comments

Projects

None yet

3 participants

@caryoscelus
Collaborator
caryoscelus commented Nov 4, 2016 edited

I decided that porting to cmake is more worthwhile effort than mastering autotools, so i'm going to attempt that.

If you think that other modern build system is better, feel free to suggest it.

If you hate the idea of leaving autotools, in worst case scenario we may keep both systems.

Dev branch: https://github.com/caryoscelus/synfig/tree/cmake (currently merged into master)

Progress:

  • ETL
  • synfig-core builds
  • synfig-core works
  • build all modules
  • fix crashing
  • synfig-studio builds
  • synfig-studio works
  • support translations
  • configurability
  • get rid of various warnings
  • building guide
  • compatibility across linux distros
  • compatibility with other platforms
@Darkspace65

Cmake has been the topic of a lot of (over)heated discussions on the Synfig forum. Hope you succeed. Thumbs up and fingers crossed!

@caryoscelus
Collaborator

Wow, apparently someone even attempted the port (https://github.com/0u812/cynfig/). I should really search the forums more, i guess. But i suspect that at this point it might be easier to start from scratch anyway.

@caryoscelus caryoscelus self-assigned this Nov 4, 2016
@morevnaproject
Member

@caryoscelus Absolutely nothing to hate. ^__^ Just consider that we will be releasing new stable version of Synfig (1.2.0) in the nearest time. So, please keep autotools until the release.

@caryoscelus
Collaborator

Sure thing. I'll need somebody to test whether my cmake config is actually cross-platform before making it sole build sys.

@caryoscelus
Collaborator

Progress so far: synfig core build works for me and even renders stuff, but then crashes with "double free or corruption"

@caryoscelus
Collaborator

Every major part is buildable and runnable now, so testing is welcome. Build instructions can be found here: https://github.com/caryoscelus/synfig/tree/cmake#installing

@caryoscelus
Collaborator

@morevnaproject So what happened to 1.2.0? Is it going to be released any time soon or was it replaced by 1.1.12?

Since i'm no longer actively work on CMake transition (as it works for me and nobody seems to be interested), i'm going to merge it into master, but i would wait till release if it's anytime soon.

@morevnaproject
Member

@caryoscelus There will be 1.2.0 release, marked as stable. But I think you can safely merge your changes into "master" - all works on 1.2.0 will be done in "testing" branch.

@caryoscelus
Collaborator
caryoscelus commented Nov 25, 2016 edited

Ah, great. Will merge soon then.

Didn't think testing is used for release preparation. I thought it happened in version-based branches like that 1.0.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment