Move env code part 1
This commit is contained in:
parent
53fe82eaf8
commit
6b153a5014
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user