discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using cmakelists.txt rather than gnumakefile


From: bruce
Subject: Using cmakelists.txt rather than gnumakefile
Date: Sun, 2 Jul 2023 07:44:50 -0700

I’d like to use cmake rather than gmake to build my gnustep projects, due to my ide having good tooling for cmake, and none at all for gmake.


I can successfully build my executable this way, but not the appdir bundle. So I have to create it manually, or with a custom shell script. I would like to have it created automatically, the way gmake does.


So far, I’ve tried using add_executable(... MACOSX_BUNDLE …), and it does nothing.

I’ve tried several ways with add_custom_command, but this either dumps all my resources into the top level of the build folder, or copies an empty Resources folder. And I’m stuck on generating the AppName.app folder.


 Is it even possible to do? Or am I wasting my time? Does anyone have a template for this? When I try to google it, the only results I find are for building gnustep itself, not gnustep projects.


Thanks

--

Bruce Davidson


reply via email to

[Prev in Thread] Current Thread [Next in Thread]