File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 1919    <ICCBuild >false</ICCBuild >
2020    <ICCBuild  Condition =" $(PlatformToolset.StartsWith(`Intel C++ Compiler`))"  >true</ICCBuild >
2121
22+     <!-- 
23+     This ensures, that in case of clang-cl bundled with VS 
24+     we find e.g. clang_rt.profile.lib in the correct bitness. 
25+     In case the user sets LLVMInstallDir and LLVMToolsVersion, 
26+     they are responsible to use the correct tool architecture. 
27+     For details please see GH-131473. 
28+     -->  
29+     <PreferredToolArchitecture  Condition =" $(LLVMInstallDir) == '' and $(PlatformToolset) == 'ClangCL' and $(Platform) == 'x64'"  >x64</PreferredToolArchitecture >
30+     <PreferredToolArchitecture  Condition =" $(LLVMInstallDir) == '' and $(PlatformToolset) == 'ClangCL' and $(Platform) == 'Win32'"  >x86</PreferredToolArchitecture >
31+ 
2232    <!-- 
2333    Convincing MSVC/MSBuild to prefer our platform names is too difficult, 
2434    so we define our own constant ArchName and use wherever we need it. 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments