vcpkg-registryRegistry containing personal projects |
git clone git://git.dimitrijedobrota.com/vcpkg-registry.git |
Log | Files | Refs | |
portfile.cmake (627B)
1 vcpkg_from_git( 2 OUT_SOURCE_PATH SOURCE_PATH 3 URL git://git.dimitrijedobrota.com/cemplate.git 4 REF 5c98605db5534f704898311e1dbfe06e275f1f4c 5 HEAD_REF master 6 ) 7 8 set(name cemplate) 9 10 vcpkg_cmake_configure( 11 SOURCE_PATH "${SOURCE_PATH}" 12 OPTIONS 13 "-D${name}_INSTALL_CMAKEDIR=share/${name}" 14 OPTIONS_DEBUG 15 "-D${name}_INSTALL_HEADERS=OFF" 16 ) 17 18 # set(VCPKG_BUILD_TYPE release) # header-only 19 20 vcpkg_cmake_install() 21 vcpkg_cmake_config_fixup(PACKAGE_NAME "${name}") 22 vcpkg_copy_pdbs() 23 24 25 configure_file( 26 "${SOURCE_PATH}/LICENSE.md" 27 "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" 28 COPYONLY 29 )