QW-Group / mvdsv

MVDSV: a QuakeWorld server
GNU General Public License v2.0
58 stars 56 forks source link

BUILD: Bump cmake limit to 3.9.0 to allow LTO. #100

Closed dsvensson closed 1 year ago

dsvensson commented 2 years ago

Unlocks optional longer compile times. cmake 3.9.0 was released Nov 30, 2018, so far from bleeding edge - CI is on 3.10.2.

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=1 ..

Previous output:

CMake Warning (dev) at CMakeLists.txt:103 (add_executable):
  Policy CMP0069 is not set: INTERPROCEDURAL_OPTIMIZATION is enforced when
  enabled.  Run "cmake --help-policy CMP0069" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  INTERPROCEDURAL_OPTIMIZATION property will be ignored for target 'mvdsv'.
This warning is for project developers.  Use -Wno-dev to suppress it.