Skip to content

Commit

Permalink
[atl] new port (microsoft#34220)
Browse files Browse the repository at this point in the history
  • Loading branch information
yurybura authored Oct 5, 2023
1 parent 8ec31e9 commit 4664eb1
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 4 deletions.
10 changes: 10 additions & 0 deletions ports/atl/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
find_path(ATLBASE_H
NAMES atlbase.h
PATHS $ENV{INCLUDE}
)

if(NOT ATLBASE_H)
message(FATAL_ERROR "Unable to locate 'atlbase.h'. Ensure you have installed the Active Template Library (ATL) component of Visual Studio.")
endif()

SET(VCPKG_POLICY_EMPTY_PACKAGE enabled)
6 changes: 6 additions & 0 deletions ports/atl/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "atl",
"version": "0",
"description": "A stub package that ensures Visual Studio has Active Template Library (ATL) installed.",
"supports": "windows"
}
9 changes: 6 additions & 3 deletions ports/atlmfc/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"name": "atlmfc",
"version": "0",
"port-version": 2,
"description": "a stub package that ensures VS has ATL/MFC installed.",
"supports": "windows"
"port-version": 3,
"description": "A stub package that ensures Visual Studio has ATL/MFC installed.",
"supports": "windows",
"dependencies": [
"atl"
]
}
9 changes: 9 additions & 0 deletions versions/a-/atl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "0cf33fe03c09b26209c1162fee2bb2c5538f8b0f",
"version": "0",
"port-version": 0
}
]
}
5 changes: 5 additions & 0 deletions versions/a-/atlmfc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "1a6d710d7d3ffd42089aa001571c625805f59918",
"version": "0",
"port-version": 3
},
{
"git-tree": "60bac7802a9cdb32192315262495b647af36b723",
"version": "0",
Expand Down
6 changes: 5 additions & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,13 @@
"baseline": "2.36.1",
"port-version": 2
},
"atl": {
"baseline": "0",
"port-version": 0
},
"atlmfc": {
"baseline": "0",
"port-version": 2
"port-version": 3
},
"atomic-queue": {
"baseline": "2021-05-03",
Expand Down

0 comments on commit 4664eb1

Please sign in to comment.