Minimal build for headless server

Get help with compiling or installing the game, and discuss announcements of new official releases.

Moderator: Forum Moderators

Post Reply
arunisaac
Posts: 3
Joined: January 21st, 2018, 6:02 am

Minimal build for headless server

Post by arunisaac »

Hi,

I am building only the wesnoth daemon for installation on a headless server. I am using the cmake-flag "-DENABLE_GAME=OFF" to achieve this. However, during installation with `make install', various game assets such as images, fonts, music, etc. get installed into share/wesnoth. If I understand correctly, the wesnoth daemon does not need these assets. It would be nice to have a cmake flag that can prevent those assets from being installed. Does such a cmake flag already exist?

I am using wesnoth 1.12.6 on GNU Guix SD.

Thanks.
arunisaac
Posts: 3
Joined: January 21st, 2018, 6:02 am

Re: Minimal build for headless server

Post by arunisaac »

Sorry if I have posted this in the wrong forum. Should I instead post it to the issue tracker on Github as a feature request? Do let me know.
User avatar
Pentarctagon
Project Manager
Posts: 5526
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Minimal build for headless server

Post by Pentarctagon »

This would be a feature request, yes.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
arunisaac
Posts: 3
Joined: January 21st, 2018, 6:02 am

Re: Minimal build for headless server

Post by arunisaac »

Thank you. I have taken this matter to the issue tracker.
https://github.com/wesnoth/wesnoth/issues/2392
Post Reply