Commit Graph

9 Commits

Author SHA1 Message Date
Cheney Wang
8cfe802099
[opencascade] Update to 7.6.0 (#21314)
* [opencascade] Update to 7.6.0

* add homepage

Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
2021-11-12 16:40:40 -08:00
Jack·Boos·Yu
2169ab765b
[opencascade] Add feature rapidjson (#20855)
* [opencascade] Add feature rapidjson

* version

* Update ports/opencascade/portfile.cmake

* Update versions/o-/opencascade.json
2021-10-22 00:49:45 -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
Dejauxvue
c8021b4675
[opencascade] fix #16252 (#16513)
* [opencascade] fix #16252 by exporting includ directories with the targets and replacing internal includes from #include "..." to #include<...> post installation

* [opencascade] added port version

* [opencascade] update SHA of versions/o-/opencascade.json

* Update ports/opencascade/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/opencascade/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/opencascade/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* remove commented line for BUILD_INTERFACE

* updated version

* remove replacement of includes form #include <...> to #include "..."

* update port version

* added fix-install-prefix-path.patch, which was removed by #15997

* fix fix-install-prefix-path.patch

* update port version

* Update ports/opencascade/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* update port version

* [opencascade]Revert "remove replacement of includes form #include <...> to #include "...""
also refined regex to allow white spaces between # and 'include'
This reverts commit 4b362739f5.

* [opencascade] update port version

* [opencascade] change exported include directory from include/opencascade to include

* [opencascade] update port version

Co-authored-by: bloess <josua.bloess@uni-bayreuth.de>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-03-22 15:19:06 -07:00
JonLiu1993
0c32fc522d
[opencascade] Update to 7.5.0 (#15997)
* [opencascade] Update to 7.5.0

* update version
2021-02-03 11:16:04 -08:00
NancyLi1013
3b935db358
[opencascade] Fix OpenCASCADE_INSTALL_PREFIX path in config (#15056) 2020-12-11 16:59:14 -08:00
Jack·Boos·Yu
d090a3e74c
[opencascade] Fix static build (#14901) 2020-12-04 16:38:05 -08:00
socuwn
6b935b7cd3
[opencascade] update debug paths in *Targets-debug.cmake (#14435)
* [opencascade] replace libd with lib and bind by bin in *Targets-debug.cmake

* updated to port-version 1
2020-11-09 14:50:53 -08:00
Marek Roszko
bb3696ce96
[opencascade] Initial port (#13493) 2020-10-08 21:56:28 -07:00