Skip to content

Commit

Permalink
[tools] Flush generated changes to SdkVersions.cs.
Browse files Browse the repository at this point in the history
Also add another dependency to ensure the file is re-created when needed.
  • Loading branch information
rolfbjarne committed Jan 11, 2024
1 parent 3930f84 commit e902853
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tools/common/Make.common
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# We check in SdkVersions.cs so that it's easier to use this file when building tests on Windows.

../common/SdkVersions.cs: ../common/SdkVersions.in.cs Makefile $(TOP)/Make.config
../common/SdkVersions.cs: ../common/SdkVersions.in.cs Makefile $(TOP)/Make.config $(TOP)/Make.versions
$(Q_GEN) sed \
-e 's/@IOS_SDK_VERSION@/$(IOS_SDK_VERSION)/g' -e 's/@WATCHOS_SDK_VERSION@/$(WATCH_SDK_VERSION)/' -e 's/@TVOS_SDK_VERSION@/$(TVOS_SDK_VERSION)/' -e 's/@MACOS_SDK_VERSION@/$(MACOS_SDK_VERSION)/' \
-e 's/@MACCATALYST_SDK_VERSION@/$(MACCATALYST_SDK_VERSION)/g' \
Expand Down
8 changes: 4 additions & 4 deletions tools/common/SdkVersions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ static class SdkVersions {
public const string MaxWatchDeploymentTarget = "10.2";
public const string MaxTVOSDeploymentTarget = "17.2";

public const string TargetPlatformVersioniOS = "17.0";
public const string TargetPlatformVersiontvOS = "17.0";
public const string TargetPlatformVersionmacOS = "14.0";
public const string TargetPlatformVersionMacCatalyst = "17.0";
public const string TargetPlatformVersioniOS = "17.2";
public const string TargetPlatformVersiontvOS = "17.2";
public const string TargetPlatformVersionmacOS = "14.2";
public const string TargetPlatformVersionMacCatalyst = "17.2";

public static Version OSXVersion { get { return new Version (OSX); } }
public static Version iOSVersion { get { return new Version (iOS); } }
Expand Down

0 comments on commit e902853

Please sign in to comment.