Static build of zandronum-server

General help and assistance forum.
Post Reply
Mr.Holub
New User
Posts: 14
Joined: Mon Oct 09, 2017 6:03 pm

Static build of zandronum-server

#1

Post by Mr.Holub » Tue May 14, 2019 6:57 pm

Hello,

as I plan to run zandronum-server on Aline linux, I would like to perform static build of Zandronum-server 3.0.
Unfortunately command line arguments are omitted. I would like to ask whether there is any known way to perform static build.

I've tried with command like this:

cmake -DCMAKE_BUILD_TYPE=Release -DSERVERONLY=ON -DNO_ASM=1 -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=ON -DBUILD_TESTS=ON ..

But it refuses to use custom variables:

CMake Warning:
Manually-specified variables were not used by the project:

BUILD_STATIC_LIBS
BUILD_TESTS

Note that I compile for an ARM CPU.

Post Reply