Skip to content

Commit

Permalink
Add VS22 check (#4996)
Browse files Browse the repository at this point in the history
Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
  • Loading branch information
llxia authored Jan 22, 2024
1 parent db75787 commit d6a6d18
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jck/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,17 @@
<available file="${vs14_vcvarsall_filename}" property="vs14_available"/>
<property name="vs10_vcvarsall_filename" location="c:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall.bat"/>
<available file="${vs10_vcvarsall_filename}" property="vs10_available"/>
<property name="vs22_vcvarsall_filename" location="c:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Auxiliary\\Build\\vcvarsall.bat"/>
<available file="${vs22_vcvarsall_filename}" property="vs22_available"/>
<condition property="vcvarsall_filename" value="${vs14_vcvarsall_filename}">
<isset property="vs14_available"/>
</condition>
<condition property="vcvarsall_filename" value="${vs10_vcvarsall_filename}">
<isset property="vs10_available"/>
</condition>
<condition property="vcvarsall_filename" value="${vs22_vcvarsall_filename}">
<isset property="vs22_available"/>
</condition>
<condition property="windows_native_compiler_present" value="true">
<isset property="vcvarsall_filename"/>
</condition>
Expand Down

0 comments on commit d6a6d18

Please sign in to comment.