Skip to content

Commit

Permalink
Adding command line option specific to VS2015
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaiser committed Aug 8, 2015
1 parent 00c8b0c commit aaa8eb5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Expand Up @@ -904,8 +904,14 @@ if(MSVC)
hpx_add_compile_flag(-Zo
CONFIGURATIONS RelWithDebInfo)
endif()

# Exceptions
hpx_add_compile_flag(-EHsc)
if(MSVC14)
# assume conforming (throwing) operator new implementations
hpx_add_compile_flag(-Zc:throwingNew)
endif()

# Runtime type information
hpx_add_compile_flag(-GR)
# Multiprocessor build
Expand Down

0 comments on commit aaa8eb5

Please sign in to comment.