Skip to content

Commit dbc0d66

Browse files
committed
Do not generate the static analyser targets if clang-cl is configured.
1 parent 3285629 commit dbc0d66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmakelib/QuickCppLibSetupProject.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ include(QuickCppLibParseLibrarySources)
129129
set(SPECIAL_BUILDS) ## Used to add optional build targets for every build target
130130

131131
# Configure the static analyser build
132-
if(MSVC)
132+
if(MSVC AND NOT CLANG)
133133
list(APPEND SPECIAL_BUILDS sa)
134134
set(sa_COMPILE_FLAGS /analyze /analyze:stacksize 262144) ## Chosen because OS X enforces this limit on stack usage
135135
#set(sa_LINK_FLAGS)

0 commit comments

Comments
 (0)