-
Notifications
You must be signed in to change notification settings - Fork 7.4k
[libsigcpp-3] Add new port #13412
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
Merged
Merged
[libsigcpp-3] Add new port #13412
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
55a52c6
[libsigcpp-3] Add new port
brukted 432cfaa
[libsigcpp-3] Rename CmakeLists.txt
brukted 5f4185f
Update portfile.cmake
LilyWangL 197ae04
[linsigcpp-3] use patch instead of modified file
brukted 6faaf73
[libsigcpp-3] Enable static build
brukted 5f633ad
Merge remote-tracking branch 'upstream/master'
brukted a775f2b
Merge remote-tracking branch 'origin/master' into HEAD
BillyONeal ac53d99
Merge remote-tracking branch 'origin/master' into HEAD
BillyONeal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| From 219b3f5a681731bcaeee9fee0f136e6eb6143d33 Mon Sep 17 00:00:00 2001 | ||
| From: Bruk Tedla <biruk.tedla93@gmail.com> | ||
| Date: Thu, 17 Sep 2020 19:45:27 +0300 | ||
| Subject: [PATCH] disable_tests_enable_static_build | ||
|
|
||
| --- | ||
| CMakeLists.txt | 4 ++-- | ||
| sigc++/CMakeLists.txt | 2 +- | ||
| 2 files changed, 3 insertions(+), 3 deletions(-) | ||
|
|
||
| diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| index 2e7f383..b2b8395 100644 | ||
| --- a/CMakeLists.txt | ||
| +++ b/CMakeLists.txt | ||
| @@ -89,8 +89,8 @@ enable_testing() | ||
|
|
||
|
|
||
| add_subdirectory (sigc++) | ||
| -add_subdirectory (examples) | ||
| -add_subdirectory (tests) | ||
| +#add_subdirectory (examples) | ||
| +#add_subdirectory (tests) | ||
|
|
||
|
|
||
| set (PROJECT_CMAKE_NAME "${PROJECT_NAME}-3") | ||
| diff --git a/sigc++/CMakeLists.txt b/sigc++/CMakeLists.txt | ||
| index fa5a91a..86f1be7 100644 | ||
| --- a/sigc++/CMakeLists.txt | ||
| +++ b/sigc++/CMakeLists.txt | ||
| @@ -23,7 +23,7 @@ set (SOURCE_FILES | ||
|
|
||
| set (SIGCPP_LIB_NAME sigc-${SIGCXX_API_VERSION}) | ||
|
|
||
| -add_library(${SIGCPP_LIB_NAME} SHARED ${SOURCE_FILES}) | ||
| +add_library(${SIGCPP_LIB_NAME} ${SOURCE_FILES}) | ||
|
|
||
| set_property (TARGET ${SIGCPP_LIB_NAME} PROPERTY VERSION ${PACKAGE_VERSION}) | ||
| set_property(TARGET ${SIGCPP_LIB_NAME} PROPERTY SOVERSION ${LIBSIGCPP_SOVERSION}) | ||
| -- | ||
| 2.27.0.windows.1 | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| vcpkg_from_github( | ||
| OUT_SOURCE_PATH SOURCE_PATH | ||
| REPO libsigcplusplus/libsigcplusplus | ||
| REF 7e20b36bddab74faed39aa3768d07fd372fce596 | ||
| SHA512 6220a3974ee90afb5028a5b60ffcbff353fffbbfcf1570d8db05b6d91604324a73badcb17c73c852d6c5265e2b31e1c2de1b3ea20c0e60ecdb17ce90c9ca40bd | ||
| HEAD_REF master | ||
| PATCHES disable_tests_enable_static_build.patch | ||
| ) | ||
|
|
||
| vcpkg_configure_cmake( | ||
| SOURCE_PATH ${SOURCE_PATH} | ||
| ) | ||
| vcpkg_install_cmake() | ||
| vcpkg_copy_pdbs() | ||
| vcpkg_fixup_pkgconfig() | ||
| vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/sigc++-3 TARGET_PATH share/sigc++-3) | ||
|
|
||
| file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
| file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "name": "libsigcpp-3", | ||
| "version-string": "3.0.3", | ||
| "description": "Typesafe callback framework for C++", | ||
| "homepage": "https://libsigcplusplus.github.io/libsigcplusplus/" | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.