mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 21:09:00 +08:00
Remove use of vcpkg_build_cmake() across all portfiles. Fixes #123
This commit is contained in:
parent
595ec61dee
commit
b1fe038a83
@ -25,7 +25,6 @@ vcpkg_configure_cmake(
|
||||
# OPTIONS_DEBUG -DDEBUGGABLE=1
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/share)
|
||||
|
@ -24,7 +24,6 @@ vcpkg_configure_cmake(
|
||||
-DBOND_LIBRARIES_ONLY=TRUE
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
# Put the license file where vcpkg expects it
|
||||
|
@ -40,7 +40,6 @@ vcpkg_configure_cmake(
|
||||
-DUSE_PREBUILT_LIBS=OFF
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/licenses/LICENSE_cocos2d-x.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/cocos2d-x RENAME copyright)
|
||||
|
@ -41,7 +41,6 @@ vcpkg_configure_cmake(
|
||||
-DCASA_INSTALL_HEADERS=OFF
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(COPY ${CURRENT_BUILDTREES_DIR}/src/license.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/cpprestsdk)
|
||||
|
@ -17,7 +17,6 @@ vcpkg_configure_cmake(
|
||||
-DENABLE_DEBUG=ON
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/curl RENAME copyright)
|
||||
|
@ -15,7 +15,6 @@ vcpkg_configure_cmake(
|
||||
-DBUILD_tools=OFF
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig ${CURRENT_PACKAGES_DIR}/lib/pkgconfig)
|
||||
|
@ -14,7 +14,6 @@ vcpkg_configure_cmake(
|
||||
-DFMT_DOC=OFF
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
|
||||
vcpkg_install_cmake()
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE.rst DESTINATION ${CURRENT_PACKAGES_DIR}/share/fmt RENAME copyright)
|
||||
|
@ -18,7 +18,6 @@ vcpkg_configure_cmake(
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include)
|
||||
|
@ -37,7 +37,6 @@ vcpkg_configure_cmake(
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/share ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
|
||||
|
@ -32,7 +32,6 @@ vcpkg_configure_cmake(
|
||||
# OPTIONS_DEBUG -DDEBUGGABLE=1
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(MAKE_DIRECTORY
|
||||
|
@ -39,7 +39,6 @@ vcpkg_configure_cmake(
|
||||
-DgRPC_PROTOBUF_PROVIDER=package
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/share/grpc)
|
||||
|
@ -37,8 +37,6 @@ vcpkg_configure_cmake(
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
|
||||
vcpkg_install_cmake()
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(INSTALL ${CURRENT_BUILDTREES_DIR}/src/googletest/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/gtest RENAME copyright)
|
||||
|
@ -16,7 +16,6 @@ vcpkg_configure_cmake(
|
||||
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
# Handle copyright
|
||||
|
@ -27,7 +27,6 @@ vcpkg_configure_cmake(
|
||||
OPTIONS_DEBUG -DINSTALL_HEADERS=OFF
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(COPY
|
||||
|
@ -34,7 +34,6 @@ vcpkg_configure_cmake(
|
||||
-DSKIP_INSTALL_HEADERS=ON
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
if(VCPKG_BUILD_SHARED_LIBS)
|
||||
|
@ -19,7 +19,6 @@ vcpkg_configure_cmake(
|
||||
# OPTIONS_DEBUG -DDEBUGGABLE=1
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/share)
|
||||
|
@ -19,7 +19,6 @@ vcpkg_configure_cmake(
|
||||
-DALSOFT_HRTF_DEFS=OFF
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
|
@ -42,7 +42,6 @@ vcpkg_configure_cmake(
|
||||
-DINSTALL_OTHER=OFF
|
||||
)
|
||||
|
||||
# vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(READ ${CURRENT_PACKAGES_DIR}/debug/share/opencv/OpenCVModules-debug.cmake OPENCV_DEBUG_MODULE)
|
||||
|
@ -34,7 +34,6 @@ else()
|
||||
-DSDL_STATIC=OFF
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
|
@ -14,7 +14,6 @@ vcpkg_configure_cmake(
|
||||
# OPTIONS_DEBUG -DDEBUGGABLE=1
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
# Removes unnecessary directories
|
||||
|
@ -13,7 +13,6 @@ vcpkg_configure_cmake(
|
||||
-DSOURCE=${CURRENT_BUILDTREES_DIR}/src/sqlite-amalgamation-3120200
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(WRITE ${CURRENT_PACKAGES_DIR}/share/sqlite3/copyright "SQLite is in the Public Domain.\nhttp://www.sqlite.org/copyright.html\n")
|
||||
|
@ -12,7 +12,6 @@ vcpkg_configure_cmake(
|
||||
OPTIONS -Dcxx=OFF
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(REMOVE_RECURSE
|
||||
|
@ -14,7 +14,6 @@ vcpkg_configure_cmake(
|
||||
# OPTIONS_DEBUG -DDEBUGGABLE=1
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
|
@ -16,7 +16,6 @@ vcpkg_configure_cmake(
|
||||
-DSKIP_INSTALL_HEADERS=ON
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
if(VCPKG_BUILD_SHARED_LIBS)
|
||||
|
@ -23,7 +23,6 @@ vcpkg_configure_cmake(
|
||||
# OPTIONS_DEBUG -DDEBUGGABLE=1
|
||||
)
|
||||
|
||||
vcpkg_build_cmake()
|
||||
vcpkg_install_cmake()
|
||||
|
||||
# Handle copyright
|
||||
|
Loading…
Reference in New Issue
Block a user