Move env code part 1

master
worktycho 2014-03-07 19:59:49 +00:00
parent 53fe82eaf8
commit 6b153a5014
1 changed files with 0 additions and 10 deletions

View File

@ -1,4 +1,3 @@
cmake_minimum_required (VERSION 2.8.2) cmake_minimum_required (VERSION 2.8.2)
project (MCServer) 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 OSSupport HTTPServer Items Blocks Protocol Generating)
set(FOLDERS ${FOLDERS} WorldStorage Mobs Entities Simulator UI BlockEntities) 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) if (NOT MSVC)