System.Data.SQLite

Check-in [3d0a5b2e4d]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Minor fixes to the previous check-in.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3d0a5b2e4d9025a0bf8df1e32f6c0c8f337c8fd8
User & Date: mistachkin 2025-01-21 05:59:14.617
Context
2025-01-21
06:22
Add a special testing tool for Visual Studio 2022. check-in: 41e43b2317 user: mistachkin tags: trunk
05:59
Minor fixes to the previous check-in. check-in: 3d0a5b2e4d user: mistachkin tags: trunk
2025-01-20
21:38
When building using Visual Studio 2022, forcibly use the .NET Framework 4.0 to avoid issues on machines that do not have all the Developer Packs installed. check-in: 5f24381e5b user: mistachkin tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to Setup/build_vs_2022.bat.
45
46
47
48
49
50
51








52
53
54
55
56
57
58
SET BASE_CONFIGURATION=%BASE_CONFIGURATION:Dll=%
SET BASE_CONFIGURATION=%BASE_CONFIGURATION:ManagedOnly=%
SET BASE_CONFIGURATION=%BASE_CONFIGURATION:NativeOnly=%
SET BASE_CONFIGURATION=%BASE_CONFIGURATION:Static=%

%_VECHO% BaseConfiguration = '%BASE_CONFIGURATION%'









IF NOT DEFINED PLATFORM_TOOLSET (
  SET PLATFORM_TOOLSET=v143
)

%_VECHO% PlatformToolset = '%PLATFORM_TOOLSET%'

REM







>
>
>
>
>
>
>
>







45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
SET BASE_CONFIGURATION=%BASE_CONFIGURATION:Dll=%
SET BASE_CONFIGURATION=%BASE_CONFIGURATION:ManagedOnly=%
SET BASE_CONFIGURATION=%BASE_CONFIGURATION:NativeOnly=%
SET BASE_CONFIGURATION=%BASE_CONFIGURATION:Static=%

%_VECHO% BaseConfiguration = '%BASE_CONFIGURATION%'

REM
REM NOTE: Possible values for the platform toolset:
REM
REM       Visual Studio 2015: v140
REM       Visual Studio 2017: v141
REM       Visual Studio 2019: v142
REM       Visual Studio 2022: v143
REM
IF NOT DEFINED PLATFORM_TOOLSET (
  SET PLATFORM_TOOLSET=v143
)

%_VECHO% PlatformToolset = '%PLATFORM_TOOLSET%'

REM
Changes to Setup/changePlatformToolset.eagle.
28
29
30
31
32
33
34

35


36
37
38
39
40
41
42
43
44
45
46

47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62

63
64
65
66
67

set argc [llength $argv]

if {$argc == 1} then {
  set path [file normalize [file dirname [info script]]]
  set rootPath [file normalize [file dirname $path]]


  set platformToolset [lindex $argv 0]


  set pattern(1) {v\d+}
  set pattern(2) [appendArgs {^} $pattern(1) {$}]

  set pattern(3) [appendArgs \
      <PlatformToolset> $pattern(1) </PlatformToolset>]

  set subSpec(3) [appendArgs \
      <PlatformToolset> $platformToolset </PlatformToolset>]

  if {[regexp -- $pattern(2) $platformToolset]} then {
    set fileNames [findFilesRecursive [file join $rootPath *.vcxproj]]


    foreach fileName $fileNames {
      set data [readFile $fileName]

      if {[regsub -all -- \
          $pattern(3) $data $subSpec(3) data] > 0} then {
        if {!$whatIf} then {
          writeFile $fileName $data
        }

        host result Ok [appendArgs \
            "Changed property toolset for project file \"" \
            $fileName "\" to \"" $platformToolset \".\n]
      }
    }
  } else {

    usage [appendArgs "bad platform toolset, must match: " $pattern]
  }
} else {
  usage ""
}







>
|
>
>










|
>
















>
|




28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72

set argc [llength $argv]

if {$argc == 1} then {
  set path [file normalize [file dirname [info script]]]
  set rootPath [file normalize [file dirname $path]]

  if {![info exists platformToolset]} then {
    set platformToolset [lindex $argv 0]
  }

  set pattern(1) {v\d+}
  set pattern(2) [appendArgs {^} $pattern(1) {$}]

  set pattern(3) [appendArgs \
      <PlatformToolset> $pattern(1) </PlatformToolset>]

  set subSpec(3) [appendArgs \
      <PlatformToolset> $platformToolset </PlatformToolset>]

  if {[regexp -- $pattern(2) $platformToolset]} then {
    set fileNames [findFilesRecursive [file join $rootPath \
        *.vcxproj]]

    foreach fileName $fileNames {
      set data [readFile $fileName]

      if {[regsub -all -- \
          $pattern(3) $data $subSpec(3) data] > 0} then {
        if {!$whatIf} then {
          writeFile $fileName $data
        }

        host result Ok [appendArgs \
            "Changed property toolset for project file \"" \
            $fileName "\" to \"" $platformToolset \".\n]
      }
    }
  } else {
    usage [appendArgs \
        "bad platform toolset, must match: " $pattern(2)]
  }
} else {
  usage ""
}