######################################################################
# CGE BUILD SYSTEM
# Welcome to the CMake build system for CGE.
# This is the main file where we prepare the general build environment
# and provide build configuration options....
More
######################################################################
# CGE BUILD SYSTEM
# Welcome to the CMake build system for CGE.
# This is the main file where we prepare the general build environment
# and provide build configuration options.
######################################################################
cmake_minimum_required(VERSION 2.
6)
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE)
cmake_policy(SET CMP0003 NEW)
# Use relative paths
# This is mostly to reduce path size for command-line limits on windows
if(WIN32)
# This seems to break Xcode projects so definitely don t enable on Apple builds
set(CMAKE_USE_RELATIVE_PATHS true)
set(CMAKE_SUPPRESS_REGENERATION true)
endif()
# Assign compiler for Mac OS X-based systems
# NOTE: This logic is order-dependent and must occur here because the
# configuration phase of CMake projects will fall into an infinite loop
# if compiler assignments are modified after issuing a project(.
.
.
) command.
#
if (CGE_BUILD_PLATFORM_IPHONE)
#
Less