diff options
| author | Iraklis Karagkiozoglou <iraklisk@outlook.com> | 2017-02-13 05:45:28 +0200 |
|---|---|---|
| committer | Iraklis Karagkiozoglou <iraklisk@outlook.com> | 2017-02-13 05:45:28 +0200 |
| commit | a82a0c01b5762470c3e15d3fd1538b2af469cca8 (patch) | |
| tree | 3ce1d79b67e50db6efc3e3a38f773cc99b54891c | |
| parent | a932e5fc209db0bfae032da585de7d86d98c5d7a (diff) | |
| download | vcpkg-a82a0c01b5762470c3e15d3fd1538b2af469cca8.tar.gz vcpkg-a82a0c01b5762470c3e15d3fd1538b2af469cca8.zip | |
Remove auto generated comments
| -rw-r--r-- | ports/libnice/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | ports/libnice/portfile.cmake | 13 |
2 files changed, 4 insertions, 14 deletions
diff --git a/ports/libnice/CMakeLists.txt b/ports/libnice/CMakeLists.txt index 3c8206cda..c631d3317 100644 --- a/ports/libnice/CMakeLists.txt +++ b/ports/libnice/CMakeLists.txt @@ -22,8 +22,6 @@ include_directories( ${GLIB_INCLUDE_DIR}) -## section: source files -# Add your source files here (one file per line), please SORT in alphabetical order for future maintenance SET (SRCS ./agent/address.c ./agent/agent.c @@ -67,9 +65,6 @@ SET (SRCS ./stun/utils.c ./libnice.def ) - -## section: header files -# Add your header files here(one file per line), please SORT in alphabetical order for future maintenance! SET(HEADERS ./config.h ./agent/address.h diff --git a/ports/libnice/portfile.cmake b/ports/libnice/portfile.cmake index eb829d4a4..4d4a97bae 100644 --- a/ports/libnice/portfile.cmake +++ b/ports/libnice/portfile.cmake @@ -1,13 +1,7 @@ -# Common Ambient Variables: -# VCPKG_ROOT_DIR = <C:\path\to\current\vcpkg> -# TARGET_TRIPLET is the current triplet (x86-windows, etc) -# PORT is the current port name (zlib, etc) -# CURRENT_BUILDTREES_DIR = ${VCPKG_ROOT_DIR}\buildtrees\${PORT} -# CURRENT_PACKAGES_DIR = ${VCPKG_ROOT_DIR}\packages\${PORT}_${TARGET_TRIPLET} -# - include(vcpkg_common_functions) + set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/libnice-0.1.13) + vcpkg_download_distfile(ARCHIVE URLS "https://nice.freedesktop.org/releases/libnice-0.1.13.tar.gz" FILENAME "libnice-0.1.13.tar.gz" @@ -16,6 +10,7 @@ vcpkg_download_distfile(ARCHIVE vcpkg_extract_source_archive(${ARCHIVE}) file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) + vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} OPTIONS_RELEASE -DOPTIMIZE=1 @@ -23,9 +18,9 @@ vcpkg_configure_cmake( ) vcpkg_install_cmake() + vcpkg_copy_pdbs() -# Handle copyright file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libnice) file(COPY ${SOURCE_PATH}/COPYING.LGPL DESTINATION ${CURRENT_PACKAGES_DIR}/share/libnice) file(COPY ${SOURCE_PATH}/COPYING.MPL DESTINATION ${CURRENT_PACKAGES_DIR}/share/libnice) |
