mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
[mcpp] Add new port (#9598)
This commit is contained in:
parent
141522e6ed
commit
fa4b2e2676
4
ports/mcpp/CONTROL
Normal file
4
ports/mcpp/CONTROL
Normal file
@ -0,0 +1,4 @@
|
||||
Source: mcpp
|
||||
Version: 2.7.2.14
|
||||
Homepage: https://github.com/zeroc-ice/mcpp
|
||||
Description: Fork of mcpp, a C/C++ preprocessor
|
27
ports/mcpp/portfile.cmake
Normal file
27
ports/mcpp/portfile.cmake
Normal file
@ -0,0 +1,27 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO zeroc-ice/mcpp
|
||||
REF e6abf9a561294b667bb931b80cf749c9be2d1a2f
|
||||
SHA512 131b68401683bcfb947ac4969a59aa4c1683412c30f76c50e9e9c5c952a881b9950127db2ef22c96968d8c90d26bcdb5a90fb1b77d4dda7dee67bfe4a2676b35
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(
|
||||
INSTALL
|
||||
${SOURCE_PATH}/config.h
|
||||
${SOURCE_PATH}/mcpp_lib.h
|
||||
${SOURCE_PATH}/mcpp_out.h
|
||||
DESTINATION
|
||||
${CURRENT_PACKAGES_DIR}/include
|
||||
)
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
Loading…
x
Reference in New Issue
Block a user