added parallel build for visual studio

This commit is contained in:
Andrey Morozov 2010-08-18 08:16:42 +00:00
parent f676ca6239
commit 0816b49a3f

View File

@ -42,6 +42,7 @@ cmake_minimum_required(VERSION 2.4)
if(MSVC)
set(CMAKE_USE_RELATIVE_PATHS ON CACHE INTERNAL "" FORCE)
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} /MP)
endif()
#set(CMAKE_C_COMPILER "/opt/BullseyeCoverage/bin/gcc")