Skip to content

Commit

Permalink
Use vcpkg registry for custom ports (#936)
Browse files Browse the repository at this point in the history
Instead of using overlay port, use a private registry.

Update to dependencies will be handled in registry. This also allow
single definition of dependency across projects, like sirius
  • Loading branch information
JasonMarechal25 authored Oct 3, 2024
1 parent 5e242a7 commit 53dfded
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 227 deletions.
23 changes: 0 additions & 23 deletions ports/coin-or-cbc/portfile.cmake

This file was deleted.

20 changes: 0 additions & 20 deletions ports/coin-or-cbc/vcpkg.json

This file was deleted.

23 changes: 0 additions & 23 deletions ports/coin-or-cgl/portfile.cmake

This file was deleted.

19 changes: 0 additions & 19 deletions ports/coin-or-cgl/vcpkg.json

This file was deleted.

23 changes: 0 additions & 23 deletions ports/coin-or-clp/portfile.cmake

This file was deleted.

18 changes: 0 additions & 18 deletions ports/coin-or-clp/vcpkg.json

This file was deleted.

23 changes: 0 additions & 23 deletions ports/coin-or-osi/portfile.cmake

This file was deleted.

17 changes: 0 additions & 17 deletions ports/coin-or-osi/vcpkg.json

This file was deleted.

25 changes: 0 additions & 25 deletions ports/coinutils/portfile.cmake

This file was deleted.

30 changes: 0 additions & 30 deletions ports/coinutils/vcpkg.json

This file was deleted.

22 changes: 22 additions & 0 deletions vcpkg-configuration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"default-registry": {
"kind": "git",
"baseline": "b8a9371ae5a920b021132f443cc5658e82ac7551",
"repository": "https://github.com/microsoft/vcpkg"
},
"registries": [
{
"kind": "git",
"repository": "https://github.com/AntaresSimulatorTeam/antares-vcpkg-registry",
"baseline": "3fa279503f88d764778bcaacdacd3aa27e323025",
"packages": [
"coin-or-cbc",
"coin-or-cgl",
"coin-or-clp",
"coin-or-osi",
"coinutils",
"sirius-solver"
]
}
]
}
7 changes: 1 addition & 6 deletions vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
{
"name": "antares-xpansion",
"version-string": "1.3.2",
"builtin-baseline": "943c5ef1c8f6b5e6ced092b242c8299caae2ff01",
"vcpkg-configuration": {
"overlay-ports": [
"./ports"
]
},
"dependencies": [
"jsoncpp",
"gtest",
"gflags",
"sirius-solver",
"coin-or-cbc",
{
"name": "boost-mpi",
Expand Down

0 comments on commit 53dfded

Please sign in to comment.