mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 11:07:10 +01:00
[pdcurses] Add usage
This commit is contained in:
parent
29def6aa63
commit
5a161e316b
@ -1,4 +1,4 @@
|
|||||||
Source: pdcurses
|
Source: pdcurses
|
||||||
Version: 3.8-1
|
Version: 3.8-2
|
||||||
Homepage: https://sourceforge.net/projects/pdcurses/
|
Homepage: https://sourceforge.net/projects/pdcurses/
|
||||||
Description: Public Domain Curses - a curses library for environments that don't fit the termcap/terminfo model.
|
Description: Public Domain Curses - a curses library for environments that don't fit the termcap/terminfo model.
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
|
|
||||||
if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic")
|
if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic")
|
||||||
message(FATAL_ERROR "PDCurses only supports dynamic CRT linkage")
|
message(FATAL_ERROR "PDCurses only supports dynamic CRT linkage")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include(vcpkg_common_functions)
|
|
||||||
find_program(NMAKE nmake)
|
find_program(NMAKE nmake)
|
||||||
|
|
||||||
vcpkg_from_github(
|
vcpkg_from_github(
|
||||||
@ -68,3 +66,6 @@ file(
|
|||||||
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/pdcurses RENAME copyright)
|
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/pdcurses RENAME copyright)
|
||||||
|
|
||||||
vcpkg_copy_pdbs()
|
vcpkg_copy_pdbs()
|
||||||
|
|
||||||
|
# Install usage
|
||||||
|
configure_file(${CMAKE_CURRENT_LIST_DIR}/usage ${CURRENT_PACKAGES_DIR}/share/${PORT}/usage @ONLY)
|
1
ports/pdcurses/usage
Normal file
1
ports/pdcurses/usage
Normal file
@ -0,0 +1 @@
|
|||||||
|
Define PDC_DLL_BUILD to import external variables if building pdcurses as a DLL on Windows.
|
Loading…
x
Reference in New Issue
Block a user