Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1160 from ethereum-mining/cli
Browse files Browse the repository at this point in the history
Clean up command line arguments processing
  • Loading branch information
jean-m-cyr authored May 28, 2018
2 parents 59baffb + 90399ba commit 69acd1a
Show file tree
Hide file tree
Showing 4 changed files with 807 additions and 1,099 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- Reconnecting with mining pool improved [[#1135](https://github.com/ethereum-mining/ethminer/pull/1135)].
- Stratum nicehash. Avoid recalculating target with every job [[#1156](https://github.com/ethereum-mining/ethminer/pull/1156)].
- Drop duplicate stratum jobs (pool bug workaround) [[#1161](https://github.com/ethereum-mining/ethminer/pull/1161)].
- CLI11 command line parsing support added [[#1160](https://github.com/ethereum-mining/ethminer/pull/1160)].
### Removed
- Disabled Debug configuration for Visual Studio [[#69](https://github.com/ethereum-mining/ethminer/issues/69)] [[#1131](https://github.com/ethereum-mining/ethminer/pull/1131)].
5 changes: 4 additions & 1 deletion ethminer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ file(GLOB HEADERS "*.h")

add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS})

target_link_libraries(ethminer PRIVATE ethcore poolprotocols devcore ethminer-buildinfo)
hunter_add_package(CLI11)
find_package(CLI11 CONFIG REQUIRED)

target_link_libraries(ethminer PRIVATE ethcore poolprotocols devcore ethminer-buildinfo CLI11::CLI11)

if(ETHDBUS)
find_package(PkgConfig)
Expand Down
Loading

0 comments on commit 69acd1a

Please sign in to comment.