How to compile/build DownZemAll from source

open source

I have recently come back to using a Mac and want to use a download manager (DownZemAll https://setvisible.github.io/DownZemAll/) that I was using on Windows. While the website says it is "for Mac OS X", there is no actual installer available.
I have Xcode and Homebrew installed, but have searched online for instructions on how to compile/build without success.
I am using Catalina, if that helps any. Thanks.

Best Answer

The process seems similar to that on Linux.

See DEVELOPERS.md in the source code you can download from https://github.com/setvisible/DownZemAll/releases > assests > source code.

Jump straight to the section named "Build with GCC or MinGW"

Install the requirements Boost and Qt5. Use brew to install them to stop the files from being scattered all over the place. Also it'd be easy to locate the file paths you'd need later.

Unzip the source code folder.

 cd ~/Downloads/DownZemAll
 mkdir ./build && cd ./build

Now edit 3rd/boost/CMakeLists.txt. Just below the line find_package(Boost 1.58.0), add another line, set(Boost_INCLUDE_DIR "absolute path to boost libraries").

Now in terminal, assuming you're in build folder, run

make -S ../ -B . -j 4 
make install 

Run tests if you wish.