diff options
| author | Alexander Karatarakis <alex@karatarakis.com> | 2018-01-30 18:12:52 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-30 18:12:52 -0800 |
| commit | 5fb99849fb6cd97277162bf5a0b68ed40f5eb5a0 (patch) | |
| tree | 193cc1893bdb7bc1c27687451a334fff402b5677 | |
| parent | 867a6664a4a21ce8aa6004c41909f1013a54ff99 (diff) | |
| parent | 9fa540fe692333723a7fdb962ac118e2f9c75cf4 (diff) | |
| download | vcpkg-5fb99849fb6cd97277162bf5a0b68ed40f5eb5a0.tar.gz vcpkg-5fb99849fb6cd97277162bf5a0b68ed40f5eb5a0.zip | |
Merge pull request #2678 from atkawa7/muparser
[muparser] init
| -rw-r--r-- | ports/muparser/CONTROL | 3 | ||||
| -rw-r--r-- | ports/muparser/portfile.cmake | 25 |
2 files changed, 28 insertions, 0 deletions
diff --git a/ports/muparser/CONTROL b/ports/muparser/CONTROL new file mode 100644 index 000000000..547e7c67e --- /dev/null +++ b/ports/muparser/CONTROL @@ -0,0 +1,3 @@ +Source: muparser +Version: 6cf2746 +Description: Fast math parser library diff --git a/ports/muparser/portfile.cmake b/ports/muparser/portfile.cmake new file mode 100644 index 000000000..7afb8adb1 --- /dev/null +++ b/ports/muparser/portfile.cmake @@ -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) |
