1
0

Move env code part 1

This commit is contained in:
worktycho 2014-03-07 19:59:49 +00:00
parent 53fe82eaf8
commit 6b153a5014

View File

@ -1,4 +1,3 @@
cmake_minimum_required (VERSION 2.8.2)
project (MCServer)
@ -9,15 +8,6 @@ include_directories (SYSTEM "${PROJECT_SOURCE_DIR}/../lib/polarssl/include")
set(FOLDERS OSSupport HTTPServer Items Blocks Protocol Generating)
set(FOLDERS ${FOLDERS} WorldStorage Mobs Entities Simulator UI BlockEntities)
if(DEFINED ENV{MCSERVER_BUILD_TYPE})
message("Setting build type to $ENV{MCSERVER_BUILD_TYPE}")
set(CMAKE_BUILD_TYPE $ENV{MCSERVER_BUILD_TYPE})
endif()
if(DEFINED ENV{MCSERVER_FORCE32})
set(FORCE32 $ENV{MCSERVER_FORCE32})
endif()
if (NOT MSVC)