-
Notifications
You must be signed in to change notification settings - Fork 7.6k
[lionkor-commandline] Add new port #23471
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
Changes from 6 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
139700b
[commandline] Add new port
Pospelove 5402959
Fix formating
Pospelove cb5e0f7
Fix deps
Pospelove d394004
Update versions
Pospelove 9010535
Remove redudant build
Pospelove 417b76b
Update commandline.json
Pospelove 26529e3
Update portfile.cmake
Pospelove f089792
Update commandline.json
Pospelove 5b0947b
Ban osx
Pospelove 4dcdd3a
Update commandline.json
Pospelove 67d921e
Update ports/commandline/add-install.patch
Pospelove 966f273
Update ports/commandline/portfile.cmake
Pospelove c31ce8e
Fixes
Pospelove 28cfc9f
Update commandline.json
Pospelove d2afeab
Rename commandline.json to lionkor-commandline.json
Pospelove 3b79661
Update baseline.json
Pospelove 07bacc8
Update vcpkg.json
Pospelove 77dc1df
Rename ports/commandline/vcpkg.json to ports/lionkor-commandline/vcpk…
Pospelove 9a1d12e
Rename ports/commandline/portfile.cmake to ports/lionkor-commandline/…
Pospelove 81a29a5
Rename ports/commandline/add-install.patch to ports/lionkor-commandli…
Pospelove 7e73ee9
Update baseline.json
Pospelove 9c563ac
Merge branch 'master' of https://github.com/microsoft/vcpkg into add-…
39b9834
version
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,9 @@ | ||
| diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| index b4db57c..7ace55c 100644 | ||
| --- a/CMakeLists.txt | ||
| +++ b/CMakeLists.txt | ||
| @@ -22,3 +22,4 @@ if(BUILD_EXAMPLES) | ||
| target_link_libraries(test commandline) | ||
| endif() | ||
|
|
||
| +install(TARGETS commandline) | ||
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,25 @@ | ||
| vcpkg_from_github( | ||
| OUT_SOURCE_PATH SOURCE_PATH | ||
| REPO lionkor/commandline | ||
| REF 4a8000d6b767263a79c589fcc74099a4454e07a9 | ||
| SHA512 81ee2716b7048e51d26f75033be7a6d3a1aec9bfef833ad067112b26144023dfad8f5f8d145b4162dba2de3ad09de223dbe9143cf9e2f5f5102374d3412aebf7 | ||
| HEAD_REF master | ||
| PATCHES | ||
| add-install.patch | ||
| ) | ||
|
|
||
| vcpkg_cmake_configure( | ||
| SOURCE_PATH "${SOURCE_PATH}" | ||
| OPTIONS | ||
| -DBUILD_EXAMPLES=OFF | ||
| ) | ||
| vcpkg_cmake_install() | ||
| vcpkg_copy_pdbs() | ||
|
|
||
| file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) | ||
|
Pospelove marked this conversation as resolved.
Outdated
|
||
|
|
||
| # Handle header | ||
| file(INSTALL "${SOURCE_PATH}/commandline.h" DESTINATION ${CURRENT_PACKAGES_DIR}/include) | ||
|
JackBoosY marked this conversation as resolved.
Outdated
|
||
|
|
||
| # Handle copyright | ||
| file(INSTALL "${SOURCE_PATH}/LICENSE" 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,18 @@ | ||
| { | ||
| "name": "commandline", | ||
| "version-semver": "1.0.0", | ||
| "description": "A C++ commandline for use in servers and chat software. Provides very simple asynchronous input/output.", | ||
| "homepage": "https://github.com/lionkor/commandline/", | ||
| "license": "MIT", | ||
| "supports": "static", | ||
| "dependencies": [ | ||
| { | ||
| "name": "vcpkg-cmake", | ||
| "host": true | ||
| }, | ||
| { | ||
| "name": "vcpkg-cmake-config", | ||
| "host": true | ||
| } | ||
| ] | ||
| } |
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
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,9 @@ | ||
| { | ||
| "versions": [ | ||
| { | ||
| "git-tree": "0a624b93bb7e086e520b067dfa82a6c50916c2b4", | ||
| "version-semver": "1.0.0", | ||
| "port-version": 0 | ||
| } | ||
| ] | ||
| } |
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.