Post by Darcy ShenPersonally, I have no experience with Xcode. I don't know how to build and package GNU TeXmacs on MacOS. Can you document the minor tweaks? And the Qt version we currently use.
I use Xcode only for development on my machine. Packaging of TeXmacs on Mac goes via the command line:
make BUNDLE
which produces a complete and independent .app package in ../distr/. by bundling all the needed libraries, no need to use Xcode.
Iâm not currently using Linux nor Windows, but I think that the current makefile is capable of producing the necessary output files in all these systems.
Iâm not very fond of configure/make too but I think this is mandatory for GNU projects. Anyway I think that if you manage to maintan a cmake build system that is nice.
In my opinion however the current Xcode project is ok: it can compile an X11 or a QT version or a Cocoa version without running ./configure again.
The Xcode project does not change often and is not a burden to maintain. It is easier for me to keep it around. I think we are only few which use it regularly.
Good luck for the presentation!
Best
Max
Post by Darcy Shenhttps://github.com/texmacs/GNUTeXmacs/commit/fe0b382070e8355426a1356a46bda7b372503cf5 <https://github.com/texmacs/GNUTeXmacs/commit/fe0b382070e8355426a1356a46bda7b372503cf5>
Next Thursday, I will give a talk on GNU TeXmacs for Shanghai Linux User Group. I hope I can distributed my customized TeXmacs.dmg for SHLUG guys to try.
And in my opinion, CMake is better and easier to maintain than our long `configure` file. And I have introduced gtest in CMake for unit testing. I hope that CMake will unify the build on Windows, Linux and MacOS. As for XCode, there must be convenient ways to generate a XCode from a CMake project. And currently, I'm using CMake to generate files for VSCode. VSCode is awesome for reading and writing code in C++.
Personally I just use and maintain the TeXmacs.xcodeproj Xcode project in packages/macos. It rely on the standard configure step for set up and just need some minor tweaks afterwards to be able to compile and debug in Xcode.
What do you think are the advantages of a CMake setup?
M
I find that Archlinux already use the CMake Build System. However, there must be small problems in it. And it only works fine on GNU/Linux. As for MacOS, I only use the CMake Build System for developing but not packaging.
_______________________________________________
Texmacs-dev mailing list
https://lists.gnu.org/mailman/listinfo/texmacs-dev <https://lists.gnu.org/mailman/listinfo/texmacs-dev>
_______________________________________________
Texmacs-dev mailing list
https://lists.gnu.org/mailman/listinfo/texmacs-dev <https://lists.gnu.org/mailman/listinfo/texmacs-dev>