mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[muparser] init
This commit is contained in:
parent
340ff984cb
commit
9fa540fe69
3
ports/muparser/CONTROL
Normal file
3
ports/muparser/CONTROL
Normal file
@ -0,0 +1,3 @@
|
||||
Source: muparser
|
||||
Version: 6cf2746
|
||||
Description: Fast math parser library
|
25
ports/muparser/portfile.cmake
Normal file
25
ports/muparser/portfile.cmake
Normal file
@ -0,0 +1,25 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO beltoforion/muparser
|
||||
REF 6cf2746f7ce3ecbe0fd91098a3c2123e5253bb0e
|
||||
SHA512 a44720507806beb577fee9480102dbdcbf8b95612e8e51e1c57688c27e69f5fec0261beb03d034471519d8a4430954d74fdb626f63d21000160eeaa081a83861
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS -DENABLE_SAMPLES=OFF
|
||||
OPTIONS_DEBUG -DDISABLE_INSTALL_HEADERS=ON
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/License.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/muparser RENAME copyright)
|
Loading…
x
Reference in New Issue
Block a user