-
Notifications
You must be signed in to change notification settings - Fork 64
x_dev Old CMake
note: this method is on longer supported!
Old - please see conan instructions
- Download and install CMake.
For Windows, use the msi-installer or zip. The preferred way for Unix like systems is the local appmanager. Only if you are familiar with building, download the source and build it yourself.
Now you have 2 choices: the gui, or the terminal.
If you are more Windows user, go with the GUI, otherwise, the terminal is the way to go.
-
Open your terminal and navigate to the root folder of creepMiner
-
Execute the following command
cmake CMakeLists.txt
-DCMAKE_BUILD_TYPE={DEBUG|RELEASE|MINSIZEREL|RELWITHDEBINFO}
[-b <your/binary/path>]
[-DCMAKE_INSTALL_PREFIX:PATH=<your/install/path>]
[-DNO_GPU={ON|OFF}]
[-DMINIMAL_BUILD={ON|OFF}]
[-DUSE_SSE4={ON|OFF}]
[-DUSE_AVX={ON|OFF}]
[-DUSE_AVX2={ON|OFF}]
[-DUSE_CUDA={ON|OFF}]
[-DUSE_OPENCL={ON|OFF}]
Paramters that are inside [...]
are optional.
PLEASE USE CMAKE_BUILD_TYPE=RELEASE! The other options are for developers.
- After cmake is done, change the directory to your output path (paramter
-b
).
If you did not enter a output path, you dont need to do this step.**
-
enter
make
and wait till creepMiner is compiled -
If you want, enter
make install
This will install all necessary files into your binary path (-DCMAKE_INSTALL_PREFIX:PATH
)
Startup CMake GUI.
-
Navigate to the root folder of your creepMiner
-
Navigate to the output folder, where the project files will be deployed
-
Click on configure
-
Configure your creepMiner project by changing the options
You need OpenSSL and POCO! Look at this wiki page for further instructions.
-
Configure it again
-
Generate the project
Now you can switch to the output folder and build the project.
After you successfully built your project, you can install it. The installation will copy necessary files and the executable into this folder.
This flag determines, if the configuration file will be also copied (and overwritten) on install (not build).
The USE_***
flags indicate the usage of the specific feature.
The default value for all flags is ON, so every feature is enabled when not declared explicitly.
This flag disables the compilation and usage of a GPU.
When ON
, USE_CUDA
and USE_OPENCL
will be set to OFF
.
This flag disables all features.
When MINIMAL_BUILD
is set to ON
, all USE_***
flags will be set to OFF
.
haha you should protect the wiki :D