vcpkg-registry

Registry containing personal projects
git clone git://git.dimitrijedobrota.com/vcpkg-registry.git
Log | Files | Refs |

portfile.cmake (559B)


1 vcpkg_from_git( 2 OUT_SOURCE_PATH SOURCE_PATH 3 URL git://git.dimitrijedobrota.com/alec.git 4 REF 4f09fd258caac125fa751b1d4864d1276c77076e 5 HEAD_REF master 6 ) 7 8 set(name alec) 9 10 vcpkg_cmake_configure( 11 SOURCE_PATH "${SOURCE_PATH}" 12 OPTIONS 13 "-D${name}_INSTALL_CMAKEDIR=share/${name}" 14 ) 15 16 set(VCPKG_BUILD_TYPE release) # header-only 17 18 vcpkg_cmake_install() 19 vcpkg_cmake_config_fixup(PACKAGE_NAME "${name}") 20 vcpkg_copy_pdbs() 21 22 23 configure_file( 24 "${SOURCE_PATH}/LICENSE.md" 25 "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" 26 COPYONLY 27 )