mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 11:23:07 +08:00
[cmakerc] Add usage text. (#27109)
This commit is contained in:
parent
45fb2215a3
commit
3c861b4e9b
@ -9,6 +9,5 @@ vcpkg_from_github(
|
|||||||
)
|
)
|
||||||
|
|
||||||
file(INSTALL "${SOURCE_PATH}/CMakeRC.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME cmakerc-config.cmake)
|
file(INSTALL "${SOURCE_PATH}/CMakeRC.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME cmakerc-config.cmake)
|
||||||
|
|
||||||
# Handle copyright
|
|
||||||
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||||
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||||
|
7
ports/cmakerc/usage
Normal file
7
ports/cmakerc/usage
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
The package cmakerc provides additional cmake functions:
|
||||||
|
|
||||||
|
find_package(CMakeRC CONFIG REQUIRED)
|
||||||
|
cmrc_add_resource_library(foo-resources ALIAS foo::rc NAMESPACE foo ...)
|
||||||
|
target_link_libraries(main PRIVATE foo::rc)
|
||||||
|
|
||||||
|
See https://github.com/vector-of-bool/cmrc/blob/master/README.md
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "cmakerc",
|
"name": "cmakerc",
|
||||||
"version-date": "2021-08-27",
|
"version-date": "2021-08-27",
|
||||||
|
"port-version": 1,
|
||||||
"description": "A Resource Compiler in a Single CMake Script",
|
"description": "A Resource Compiler in a Single CMake Script",
|
||||||
"homepage": "https://github.com/vector-of-bool/cmrc",
|
"homepage": "https://github.com/vector-of-bool/cmrc",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
|
@ -1490,7 +1490,7 @@
|
|||||||
},
|
},
|
||||||
"cmakerc": {
|
"cmakerc": {
|
||||||
"baseline": "2021-08-27",
|
"baseline": "2021-08-27",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"cmark": {
|
"cmark": {
|
||||||
"baseline": "0.30.1",
|
"baseline": "0.30.1",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "d2fd3d5a7ba3648e56e111691ea6fa938cbc4ed9",
|
||||||
|
"version-date": "2021-08-27",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "740fd9bb83e79eba29ccd69546d2b3105d719d5d",
|
"git-tree": "740fd9bb83e79eba29ccd69546d2b3105d719d5d",
|
||||||
"version-date": "2021-08-27",
|
"version-date": "2021-08-27",
|
||||||
|
Loading…
Reference in New Issue
Block a user