@ -18,14 +18,15 @@ if (MSVC)
# A v o i d w i n d o w s . h f r o m i n c l u d i n g s o m e u s u a l l y u n u s e d l i b s l i k e w i n s o c k s . h , s i n c e t h i s m i g h t c a u s e s o m e r e d e f i n i t i o n e r r o r s .
add_definitions ( -DWIN32_LEAN_AND_MEAN )
# / W 3 - L e v e l 3 w a r n i n g s
# / M P - M u l t i - t h r e a d e d c o m p i l a t i o n
# / Z i - O u t p u t d e b u g g i n g i n f o r m a t i o n
# / Z o - E n h a n c e d d e b u g i n f o f o r o p t i m i z e d b u i l d s
# / p e r m i s s i v e - - E n a b l e s s t r i c t e r C + + s t a n d a r d s c o n f o r m a n c e c h e c k s
# / E H s c - C + + - o n l y e x c e p t i o n h a n d l i n g s e m a n t i c s
# / Z c : i n l i n e - L e t c o d e g e n o m i t i n l i n e f u n c t i o n s i n o b j e c t f i l e s
# / Z c : t h r o w i n g N e w - L e t c o d e g e n a s s u m e ` o p e r a t o r n e w ` ( w i t h o u t s t d : : n o t h r o w ) w i l l n e v e r r e t u r n n u l l
# / W 3 - L e v e l 3 w a r n i n g s
# / M P - M u l t i - t h r e a d e d c o m p i l a t i o n
# / Z i - O u t p u t d e b u g g i n g i n f o r m a t i o n
# / Z o - E n h a n c e d d e b u g i n f o f o r o p t i m i z e d b u i l d s
# / p e r m i s s i v e - - E n a b l e s s t r i c t e r C + + s t a n d a r d s c o n f o r m a n c e c h e c k s
# / E H s c - C + + - o n l y e x c e p t i o n h a n d l i n g s e m a n t i c s
# / Z c : e x t e r n C o n s t e x p r - A l l o w e x t e r n c o n s t e x p r v a r i a b l e s t o h a v e e x t e r n a l l i n k a g e , l i k e t h e s t a n d a r d m a n d a t e s
# / Z c : i n l i n e - L e t c o d e g e n o m i t i n l i n e f u n c t i o n s i n o b j e c t f i l e s
# / Z c : t h r o w i n g N e w - L e t c o d e g e n a s s u m e ` o p e r a t o r n e w ` ( w i t h o u t s t d : : n o t h r o w ) w i l l n e v e r r e t u r n n u l l
add_compile_options (
/ W 3
/ M P
@ -34,6 +35,7 @@ if (MSVC)
/ p e r m i s s i v e -
/ E H s c
/ s t d : c + + l a t e s t
/ Z c : e x t e r n C o n s t e x p r
/ Z c : i n l i n e
/ Z c : t h r o w i n g N e w
)