mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 09:43:02 +08:00
[pdcurses] Add usage
This commit is contained in:
parent
29def6aa63
commit
5a161e316b
@ -1,4 +1,4 @@
|
||||
Source: pdcurses
|
||||
Version: 3.8-1
|
||||
Version: 3.8-2
|
||||
Homepage: https://sourceforge.net/projects/pdcurses/
|
||||
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")
|
||||
message(FATAL_ERROR "PDCurses only supports dynamic CRT linkage")
|
||||
endif()
|
||||
|
||||
include(vcpkg_common_functions)
|
||||
find_program(NMAKE nmake)
|
||||
|
||||
vcpkg_from_github(
|
||||
@ -68,3 +66,6 @@ file(
|
||||
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/pdcurses RENAME copyright)
|
||||
|
||||
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…
Reference in New Issue
Block a user