Post
Topic
Board Mining (Altcoins)
Re: please help a NOOB ... how to use Cmake to set Build file ? Mac OS / ETHMINER
by
bitkube
on 13/04/2019, 13:24:28 UTC
Download source code from git repository
Code:
$ git clone https://github.com/ethereum-mining/ethminer.git

Go to the source code directory
Code:
$ cd ethminer

Create a build directory
Code:
$ mkdir build; cd build

Configure the project with CMake
Code:
$ cmake ..

If you have NVidia GPU(s), you need to add more options
Code:
$ cmake .. -DETHASHCUDA=ON

Build the project using CMake Build Tool Mode
Code:
$ cmake --build .

you are welcome!