-
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.
A test meson port with a library and exe. It also prints out os version macro info.
- Loading branch information
1 parent
6299b1f
commit 2494e91
Showing
4 changed files
with
67 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ parameters: | |
- ffmpeg | ||
- ffmpeg-cloud | ||
- hellocmake | ||
- hellomeson | ||
- hunspell | ||
- hunspell-debug | ||
- libpng | ||
|
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,27 @@ | ||
# hellomeson | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO mike-malburg/hellomeson | ||
REF master | ||
SHA512 122d2c69c426994a752da6b3817dbe8b4cca8407039434acfe95b05aa104140286a131a65d123a506d4f330b8d5abea44c408c789b945f9ae72ec24e36d6ad23 | ||
HEAD_REF master | ||
) | ||
|
||
set(VCPKG_POLICY_SKIP_COPYRIGHT_CHECK enabled) | ||
set(VCPKG_POLICY_ALLOW_EXES_IN_BIN enabled) | ||
|
||
vcpkg_configure_meson( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
) | ||
|
||
vcpkg_install_meson() | ||
vcpkg_copy_pdbs() | ||
vcpkg_fixup_pkgconfig() | ||
|
||
# # Move hellomesontest exe to tools dir | ||
vcpkg_copy_tools( | ||
TOOL_NAMES hellomesontest | ||
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,12 @@ | ||
{ | ||
"name": "hellomeson", | ||
"version": "1.0.0", | ||
"port-version": 1, | ||
"description": "A test program built with meson, including a shared library and a exe which depends on that library. The exe prints off OS version macro data, as well, for debugging purposes", | ||
"dependencies": [ | ||
{ | ||
"name": "vcpkg-tool-meson", | ||
"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