-
Notifications
You must be signed in to change notification settings - Fork 313
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
move to cmake #216
Comments
Adding new features to 3 different Makefiles (Linux, Windows, Mac OSX) is a maintenance headache. It would be nice to have a single build recipe to handle all platforms but I don't want to go down the autoconf road. Too complicated and too many bad experiences with it. The Mac OSX case is the most problematic. I don't have a Mac, the build tools seem to keep changing and people tell me contradictory things. I would consider cmake if: (1) It is universally available everywhere (including FreeBSD, OpenBSD, Cygwin, etc.) using the standard package installation process (yum, apt-get, and so on). Users should not have to build cmake from source. (2) The implementation handled all of the special cases such as different compiler options based on compiler version (e.g. is -fastmath available) and target hardware (e.g. -msse or -mfpu=neon which make a big difference in performance). (3) It can handle situations where the same source is compiled multiple times with different conditional compilation depending on where it is used. For example, some library might have a main program which is used for unit test. (4) Can handle other complications that might arise. |
I will prepare a prototype (no deadline please) and we will discuss that. |
Do you prefer that I use -dev or -master? |
"dev" branch because that is where all development is happening. |
This has been merged into the dev branch. |
thank you. TODO:
|
Hello,
first of all thank for your effort!
I am trying to build direwolf on MacOS 10.14 and it fails and the build mechanism is not idempotent. What do you think if I re-write the build system in CMake and therefore have truly multi-platform support?
thanks
The text was updated successfully, but these errors were encountered: