Commit Graph

18 Commits

Author SHA1 Message Date
Rémy Tassoux
3db88df035
[celero] Update to 2.8.3 (#24349)
* [celero] Update to 2.8.3

* [celero] Update version files

* [celero] fix binaries install path

* [celero] Update version files
2022-04-25 16:15:28 -07:00
Billy O'Neal
b295670e4b
Bulk convert control files. (#19986)
```
function Convert-Control {
    Param($full)
    .\vcpkg.exe format-manifest $full
    $root = $full.Substring(0, $full.Length - 7) # CONTROL
    $new = $root + 'vcpkg.json'
    $content = Get-Content -Raw $new
    $asJson = ConvertFrom-Json $content -AsHashtable -Depth 100
    $oldVersion = $asJson['port-version']
    if ($null -eq $oldVersion) {
        $oldVersionFull = $asJson['version-string']
        Write-Host "Got version $oldVersionFull"
        $match = [System.Text.RegularExpressions.Regex]::Match($oldVersionFull, '^(.+)-(\d+)$')
        if ($match.Success -and -not [System.Text.RegularExpressions.Regex]::IsMatch($oldVersionFull, '^\d\d\d\d-\d\d-\d\d$')) {
            $newFullVersion = [string]$match.Groups[1].Value
            $oldVersion = [int]$match.Groups[2].Value
            Write-Host "newFullVersion $newFullVersion oldVersion $oldVersion"
            $newVersion = $oldVersion + 1
            $asJson['version-string'] = $newFullVersion
            Write-Host "Previous version for $full extracted from version field -- setting version-string $newFullVersion and port-version $newVersion"
        } else {
            Write-Host "No previous version for $full -- setting 1"
            $newVersion = 1
        }
    } else {
        $newVersion = [int]$oldVersion + 1
        Write-Host "New version for $full : $newVersion"
    }

    $asJson['port-version'] = $newVersion

    $content = ConvertTo-Json $asJson -Depth 100
    Set-Content -Path $new -Value $content
    .\vcpkg.exe format-manifest $new
}

Get-ChildItem ports\CONTROL -Recurse | Foreach-Object {
    Convert-Control $_.FullName
}

git commit -am "this message"
.\vcpkg.exe x-add-version -all
git commit -a --amend
```
2021-09-09 01:24:04 -07:00
John Farrier
030cfaa24d
[celero] Updated to Celero v2.8.0 (#16802)
* [celero] Updated to Celero v2.8.0

* [celero] Improving static linking support in VCPKG.

Celero issue #154 is tracking a fix.
https://github.com/DigitalInBlue/Celero/issues/154

* [celero] Updated to v2.8.1

* [celero] Updated version for VCPKG.

* [celero] Updates to better support VCPKG.

* [celero] Updated versions.

* Update celero.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
2021-04-02 14:18:13 -07:00
John Farrier
b554d3ad08
[celero] Updated to v2.7.2 (#16446)
* [celero] Updated to v2.7.2

* [celero] Updated Versions file.
2021-03-01 16:07:30 -08:00
Jack·Boos·Yu
31ce75e4ae
[celero] Fix some macros (#10159)
WIN32 -> _WIN32, and CELERO_STATIC -> 1
2020-02-28 22:14:37 -08:00
John Farrier
ff9a7c8f54 [celero] Updated to v2.6.0 (#8646) 2019-10-18 13:20:06 -07:00
pravic
18b029a5e3 [WIP] Add a Homepage URL entry for vcpkg ports (#2933)
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-06-15 16:54:47 -07:00
Mateusz Łoskot
2e9ac22921 Celero: Update to v2.5.0 release (#6845) 2019-06-10 17:25:24 -07:00
Robert Schumacher
c646d30a71 [celero] Revert changes in c6db2c880a 2019-01-22 15:28:35 -08:00
Robert Schumacher
c6db2c880a Updates 2019.01.09 2019-01-18 14:08:49 -08:00
Cheney Wang
c094d3133c Update release version or commit to latest for below ports (#4957)
* [botan][caf][celero][docopt][glbinding][nanodbc][sfgui]Update release version or commit to latest

* [sfml] Add find_dependency(Freetype)
2018-12-17 16:44:08 -08:00
John Farrier
c23a7f5c9a [celero] Update Celero to v2.4.0 (#4585)
* Upgrade Celero to v2.2.0

* [celero] Fix installed cmake targets

* Updated to Celero v2.4.0
2018-10-28 12:56:27 -07:00
Robert Schumacher
c3d34e7d8e Upgrades 2018.06.31 2018-08-03 00:09:21 -07:00
Robert Schumacher
86fecfc61c Upgrades 2018.07.08 2018-07-08 22:29:53 -07:00
John Farrier
a4b35f14ba Upgrade Celero to v2.2.0 (#3259)
* Upgrade Celero to v2.2.0

* [celero] Fix installed cmake targets
2018-04-17 16:11:18 -07:00
Robert Schumacher
ae0b277ae3 [celero] Update to use vcpkg_from_github and Ninja 2017-10-12 10:18:29 -07:00
John Farrier
52352d25e6 #1930 Improved build control to exclude demo applications. 2017-10-06 14:18:02 -04:00
John Farrier
3a7a18a53d #1930 Celero Initial Port 2017-10-06 13:53:48 -04:00