Run the following commands:
conan profile new default --detect
This should generate a new profile at C:/Users/{username}/.conan/profiles/default
Here's what mine looks like:
[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=Visual Studio
compiler.version=17
build_type=Release
[options]
[build_requires]
[env]
- Set env. variables:
CMAKE_GENERATOR="Desired Generator"
, e.g. CMAKE_GENERATOR="Visual Studio 17 2022"
NOTE: The generator that should be used will depend on the compiler
and compiler.version
setting in your conan profile.
If you plan to use Visual Studio 17 2022, like I do, make sure to install it
- Build:
./build.bat
The executable should be in ./build/bin/idleminer.exe
- Install Conan
- Follow the Getting Started guide
After setting up conan, be sure to add the following to the profile that you created (at ~/.conan/profiles/default
):
[conf]
tools.system.package_manager:mode=install
tools.system.package_manager:sudo=True
This will allow conan to install system dependencies automatically
- Build:
./build.sh
The executable should be in ./build/bin/idleminer
- Install Homebrew
brew install conan
conan profile new default --detect
- Change the following settings in the default profile (at
~/.conan/profiles/default
)
arch=armv8
arch_build=armv8
- Run build (will fail) and copy files all
.dylib
files from./build/bin
to/usr/local/lib
, then attempt to build again.
./build.sh
sudo cp build/bin/*.dylib /usr/local/lib/
./build.sh
The executable should be in ./build/bin/idleminer
After following build instructions, go into the build/
directory and run ctest
:
cd build
ctest