Minimal build for headless server

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

Moderators: Forum Moderators, Developers

Minimal build for headless server

Postby arunisaac » January 21st, 2018, 6:18 am

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

Postby arunisaac » January 21st, 2018, 12:56 pm

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.
arunisaac
 
Posts: 3
Joined: January 21st, 2018, 6:02 am

Re: Minimal build for headless server

Postby Pentarctagon » January 21st, 2018, 5:48 pm

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
User avatar
Pentarctagon
Forum Administrator
 
Posts: 3145
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Minimal build for headless server

Postby arunisaac » January 21st, 2018, 6:41 pm

Thank you. I have taken this matter to the issue tracker.
https://github.com/wesnoth/wesnoth/issues/2392
arunisaac
 
Posts: 3
Joined: January 21st, 2018, 6:02 am


Return to Release Announcements, Compiling & Installation

Who is online

Users browsing this forum: Google [Bot] and 3 guests