Commit Graph

13 Commits

Author SHA1 Message Date
Mengna Li
475954aaa1
[libigl] add cgal support (#24891)
* add cgal support

* update
2022-05-24 08:32:15 -07:00
Billy O'Neal
c9e786d81a
[many ports] remove remaining vcpkg_fail_port_install calls. (#22770)
* Bulk remove vcpkg_fail_port_install calls.

Interesting ones have been split out into separate reviews, where "interesting" means "anything more than just deleting the call to vcpkg_fail_port_install",

In support of https://github.com/microsoft/vcpkg/pull/21502

* Update version database.

* Revert google benchmark changes already submitted as https://github.com/microsoft/vcpkg/pull/22728

* Repair version database.
2022-01-25 10:31:15 -08:00
Cheney Wang
703062b026
[libigl] Update to 2.3.0 (#20662)
* [libigl] Update to 2.3.0

* remove the change in fix-config.patch

* restore to the original state

Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
2021-10-14 17:49:18 -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
Dorq
a4d0471091
[libigl] fix imgui feature (#19746)
* [libigl] fix imgui feature

* run x-add-version
2021-09-03 17:38:46 -07:00
Fabien Péan
7e01ac118a
[libigl] Always install as header-only library (#14888)
* [libigl] Always build as header-only library

* [libigl] Always build header-only

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-02-08 18:26:40 -08:00
Fabien Péan
4b222f8d26
[libigl] Fix dynamic build and enable header-only mode (#14376)
* [libigl] Fix dynamic build and enable header-only mode

* Update portfile.cmake

Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
2020-11-11 16:48:07 -08:00
Jack·Boos·Yu
b549e6a779
[libigl] Re-fix install extra headers (#13471) 2020-09-11 12:31:30 -07:00
Jack·Boos·Yu
dc56928e6a
[libigl] Install extra headers when feature selected (#13424) 2020-09-09 11:45:05 -07:00
nicole mazzuca
bf594d63fc
[libigl] fix imgui feature (#12691) 2020-08-24 12:49:35 -07:00
Jack·Boos·Yu
75bb11678e
[libigl] Fix configure error and dependencies (#10252)
* [libigl] Fix configure error and dependencies

* convert patch EOL

* [libigl] Update to 2.2.0

* Update ports/libigl/CONTROL

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-08-01 16:12:24 -07:00
Jack·Boos·Yu
7db2ffa0b0
[imgui] Add feature bindings and remove feature example (#10253)
* [imgui] Separate feature tools from feature example

* [imgui] Separate feature tools from feature example

Co-authored-by: JackBoosY <yuzaiyang@microsoft.com>
2020-04-30 22:57:38 -07:00
JackBoosY
4f30616769 [libigl]Add port libigl, add features. (#8607)
* [libigl]Add port libigl, add features.

* [libigl]Re-generate patch.

* Trigger CI.

* [libigl]Correct homepage.
2019-10-29 23:10:20 -07:00