cmake_minimum_required(VERSION 3.0)


macro(SetupEvniroment)

set (CMAKE_CXX_STANDARD 14)

if(MSVC)
	#Use dynamic libs
	set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}	/MD ")
	set(CMAKE_CXX_FLAGS_DEBUG	"${CMAKE_CXX_FLAGS_DEBUG}   /MDd")
	
	#Multiprocessing
	set(CMAKE_CXX_FLAGS			"${CMAKE_CXX_FLAGS}			/MP")
endif()

endmacro(SetupEvniroment)