Commit c774864b by Kohei Yoshida

cmake: add some MSVC specifics compiler flags.

parent 67b264c5
......@@ -4,6 +4,10 @@ cmake_policy(SET CMP0048 NEW)
project(mdds VERSION 1.2.3 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 11)
if(MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4251 /wd4275 /MP")
endif(MSVC)
option(BOOST_INCLUDE_DIR "path to boost header include directory.")
add_definitions(-DMDDS_UNIT_TEST)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment