![]() |
Configure script purpose
What's the main purpose of the configure file? I know it detects system dependencies and allows for configuration options but it's a 7000+ lines of code script. I would also suggest the idea of using cmake for the whole build/test cycle. I have been using cmake for a few months and it's a really powerful tool for multiple systems developement. It's way superior to the old autogen+configure+makefile combo. So i would like to know from Nick or other devs how feasible would it be switching to cmake.
|
You are not alone in hating config/autoconf. If you port to cmake, it'll get adopted.
|
I will try to get angband compiled with cmake when i finish exams. It doesn't look that complicated but i expect it to turn a nightmare when trying to build in windows and mac osx. I was trying also to port angband to python using derakon's code as basis but i left that aside months ago. Too much things to do and little spare time haha.
|
Windows and OSX each have makefile independent of configure, so it isn't necessary to get it all done at once.
|
Quote:
The actual script is NOT 7000+ lines long, it's more like 600. https://github.com/angband/angband/b...r/configure.ac The generated script works on everything that has a shell (not even bash, just any shell), thus it's completely dependency-free, which is the purpose. Yes, autoconf syntax is a bit terse, but is CMakeLists.txt really better? And yeah, autoconf has some problems, but so does CMake. Just my 2 cents, before jumping into next build system, maybe we should examine if that's even necessary? |
@Flambard: also, vi is totally better than emacs
|
Quote:
|
Or... you q! that
|
Sorry Nick--
I just had to swing at a hanging curve ball, right over the middle of the plate. More to the point, I wholeheartedly endorse the opinion in this thread. Autoconf works...except when it doesn't--at which poiny you are screwed . https://stackoverflow.com/questions/...make-and-scons Quote:
|
Quote:
|
All times are GMT +1. The time now is 19:39. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.