We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 002d70c commit f9decdbCopy full SHA for f9decdb
CMakeLists.txt
@@ -61,10 +61,17 @@ target_compile_definitions(stackandconquer
61
$<$<CONFIG:DEBUG>:QT_DISABLE_DEPRECATED_BEFORE=0x061000>
62
)
63
64
-target_compile_options(stackandconquer
65
- PRIVATE
66
- $<$<CONFIG:DEBUG>:-Wall -Wextra -pedantic>
67
-)
+if(MSVC)
+ target_compile_options(stackandconquer
+ PRIVATE
+ $<$<CONFIG:DEBUG>:/W4 /permissive->
68
+ )
69
+else()
70
71
72
+ $<$<CONFIG:DEBUG>:-Wall -Wextra -pedantic>
73
74
+endif()
75
76
target_link_libraries(stackandconquer PRIVATE
77
${QT_MAIN_VERSION}::Core
0 commit comments