conan_build is tool-project used for build pre-compiled libraries for Creality 创想三维 desktop software. It's based on conan.
- Python 3.9
- CMake 3.23 or higher
- Conan >=1.50 <=1.56.0
- Qt5.13.2
- Compile toolchains
- Windows: Visual Studio with MSVC 2019 or higher
- MacOS: XCode 13.2
- Linux: GCC9
windows
set QT5_DIR=%QTDIR%
git clone https://github.com/CrealityOfficial/conan_build.git
cd conan-build
git submodule update --init
copy file conan-build/profiles/desktop/win to the location of conan .conan/profiles/
create_patch.py -n opensource-win -f patches/CrealityPrint.patch -u False
Mac
export QT5_DIR=$QTDIR
git clone https://github.com/CrealityOfficial/conan_build.git
cd conan-build
git submodule update --init
copy file conan-build/profiles/desktop/mac to the location of conan .conan/profiles/
python3 create_patch.py -n opensource-mac -f patches/CrealityPrint.patch -u False
Linux
export QT5_DIR=$QTDIR
git clone https://github.com/CrealityOfficial/conan_build.git
cd conan-build
git submodule update --init
cp ./profiles/desktop/linux ~/.conan/profiles/linux
python3 create_patch.py -n opensource-linux -f patches/CrealityPrint.patch -u False
You can also build conan libs separately
python3 create_patch.py -n opensource-linux -f patches/sub1.patch -u False
python3 create_patch.py -n opensource-linux -f patches/sub2.patch -u False
python3 create_patch.py -n opensource-linux -f patches/sub3.patch -u False
python3 create_patch.py -n opensource-linux -f patches/sub4.patch -u False
conan_build as a whole is licensed under the GNU General Public License, Version 3.