Skip to content
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

Replace autotools with CMake #59

Closed
fmang opened this issue Feb 12, 2018 · 2 comments
Closed

Replace autotools with CMake #59

fmang opened this issue Feb 12, 2018 · 2 comments
Assignees
Milestone

Comments

@fmang
Copy link
Owner

fmang commented Feb 12, 2018

Pros:

  • (Important) It is cross-platform, in particular it targets Windows Windows support #38.
  • It is relatively modern.
  • It integrates with many IDE (meh).
  • The build objects are isolated in a separate directory, not directly into the source tree.
  • It is less scary than M4 macros?

Cons:

  • POSIX users are less used to it. No more ./configure --prefix=$HOME/.local CXXFLAGS=-O3 but cmake -DWHAT_WAS_IT_AGAIN?.
  • It is an extra dependency at build-time. (who cares?)

In both cases, writing build scripts is a painful experience. Reading the pros/cons back, most matters sound trivial; the one decisive point is cross-platform support.

Many other fancy tools exist, but I'd rather use a solid one everybody knows.

I plan to toy with CMake by next week, and remain open for advice.

@fmang fmang self-assigned this Feb 18, 2018
@fmang
Copy link
Owner Author

fmang commented Feb 18, 2018

Okay, let's do this.

@fmang fmang added this to the 1.7 milestone Feb 18, 2018
@fmang fmang changed the title Replace autotools with CMake? Replace autotools with CMake Feb 24, 2018
@fmang
Copy link
Owner Author

fmang commented Feb 25, 2018

Done!

It was easier than expected, except for #60.

@fmang fmang closed this as completed Feb 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant