这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@thunder-coding
Copy link
Member

There are multiple benefits of using CMake over Autotools like:

  • CMake is much more modern and requires much less lines of code as
    compared to doing the same thing in autotools
  • Autotools is years of bad decisions, generating a long 50k+ lines of
    bash script to generate the Makefiles definitely isn't a good idea and
    is really slow as well as makes debugging the build process very
    difficult
  • Existing projects using termux-elf-cleaner using CMake should benefit
    from this.

Copy link
Member

@Grimler91 Grimler91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Considering recent events I agree that this is a good idea. I have some comments regarding tests part, but otherwise LGTM, thanks for working on this!

@thunder-coding thunder-coding force-pushed the cmake branch 3 times, most recently from 28a3f22 to 94056c9 Compare April 3, 2024 16:45
@thunder-coding thunder-coding requested a review from Grimler91 April 4, 2024 04:24
There are multiple benefits of using CMake over Autotools like:
- CMake is much more modern and requires much less lines of code as
  compared to doing the same thing in autotools
- Autotools is years of bad decisions, generating a long 50k+ lines of
  bash script to generate the Makefiles definitely isn't a good idea and
  is really slow as well as makes debugging the build process very
  difficult
- Existing projects using termux-elf-cleaner using CMake should benefit
  from this.
@thunder-coding
Copy link
Member Author

Merging this, will do a new 3.0.0 release after doing a bit of rewrite to make the overall code more readible. The command line parser is mess especially, will try to replace it with a more readible one

@thunder-coding thunder-coding merged commit 8449d0f into master Apr 5, 2024
@thunder-coding thunder-coding deleted the cmake branch April 5, 2024 05:22
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

Successfully merging this pull request may close these issues.

2 participants