-
Notifications
You must be signed in to change notification settings - Fork 7.7k
[tlx] Add new port (Need fixes) #11943
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
fa06bfe
a566584
70d5bc6
dd9734c
f09143b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| Source: tlx | ||
| Version: 05.03.2020 | ||
| Homepage: https://github.com/tlx/tlx | ||
| Description: tlx is a collection of C++ helpers and extensions universally needed, but not found in the STL | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| vcpkg_check_linkage(ONLY_STATIC_LIBRARY) | ||
| # TODO: Fix .dlls not producing .lib files | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why can it not support dynamic build?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @NancyLi1013 When dll is built there is no symbol resolution |
||
|
|
||
| vcpkg_from_github( | ||
| OUT_SOURCE_PATH SOURCE_PATH | ||
| REPO tlx/tlx | ||
| REF d59c325fb31812047e61aba3d75cc037f92c2b3d | ||
|
NancyLi1013 marked this conversation as resolved.
Outdated
|
||
| SHA512 5bf79b35cdf47f2eeca8d38a5cce045ce99da21146303861e66d9926aa3fd48ab2eb07867232245339cd270b118ae9ed51154b6793b54b0bc876bd24c5152ba1 | ||
| HEAD_REF master | ||
| ) | ||
|
|
||
| string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC) | ||
| string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" BUILD_SHARED) | ||
|
|
||
| vcpkg_configure_cmake( | ||
| SOURCE_PATH ${SOURCE_PATH} | ||
| PREFER_NINJA | ||
| OPTIONS | ||
| -DVERBOSE=1 | ||
| -DTLX_BUILD_TESTS=off | ||
| -DTLX_USE_GCOV=off | ||
| -DTLX_TRY_COMPILE_HEADERS=off | ||
| -DTLX_MORE_TESTS=off | ||
| -DTLX_BUILD_STATIC_LIBS=${BUILD_STATIC} | ||
| -DTLX_BUILD_SHARED_LIBS=${BUILD_SHARED} | ||
| ) | ||
|
|
||
| vcpkg_install_cmake() | ||
| vcpkg_copy_pdbs() | ||
| vcpkg_fixup_cmake_targets(CONFIG_PATH "CMake/") | ||
|
xahon marked this conversation as resolved.
Outdated
|
||
|
|
||
| file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
| file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") | ||
| file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) | ||
Uh oh!
There was an error while loading. Please reload this page.