-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a port that I'll use to test to see what Mac build vars existed at build time.
- Loading branch information
1 parent
7e9629a
commit 2a8d660
Showing
4 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# testmacbuildvars | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO mike-malburg/testmacbuildvars | ||
REF master | ||
SHA512 41c7ecb22198afff3f6fb77e3a17324555c4a35e51e2c609a1d61f8c4cc8084f17b7aef314a59ab39c555ab843d8ceba622079ff7c23d70a771026157d81a251 | ||
HEAD_REF master | ||
) | ||
|
||
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled) | ||
set(VCPKG_POLICY_SKIP_COPYRIGHT_CHECK enabled) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH ${SOURCE_PATH} | ||
OPTIONS | ||
--no-warn-unused-cli | ||
) | ||
vcpkg_install_cmake() | ||
vcpkg_copy_pdbs() | ||
vcpkg_fixup_pkgconfig() | ||
|
||
# Move testmacbuildvars exe to tools dir | ||
vcpkg_copy_tools( | ||
TOOL_NAMES testmacbuildvars | ||
SEARCH_DIR ${CURRENT_PACKAGES_DIR}/bin | ||
DESTINATION ${CURRENT_PACKAGES_DIR}/tools | ||
AUTO_CLEAN | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "testmacbuildvars", | ||
"version": "1.0.0", | ||
"port-version": 1, | ||
"description": "A test program to see what MacOS version macros exist at build time.", | ||
"dependencies": [ | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters