think-cell / think-cell-library

think-cell core library
https://www.think-cell.com/en/career/devblog/overview
Boost Software License 1.0
407 stars 52 forks source link

build range examples with msvc #7

Closed frederich closed 1 year ago

frederich commented 8 years ago

It's not possible to build range examples with msvc tool chain. See commit 262fb81a21f55a03f998b404f8fa7652595e18fd. Revert CMakeLists.txt changes.

A pull request is comming soon.

if (MSVC)
    include_directories(C:/Libraries/boost_1_59_0/)
    add_definitions(-DBOOST_ALL_NO_LIB -D_SCL_SECURE_NO_WARNINGS)
    set(CMAKE_CXX_FLAGS_DEBUG "/D_DEBUG /MTd /Zi /Ob0 /Od /RTC1")
        set(CMAKE_CXX_FLAGS_MINSIZEREL     "/MT /O1 /Ob1 /D NDEBUG")
        set(CMAKE_CXX_FLAGS_RELEASE        "/MT /O2 /Ob2 /D NDEBUG")
        set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "/MT /Zi /O2 /Ob1 /D NDEBUG")
else ()
...