KiCadBuildQuickRef: Difference between revisions
From Code::Blocks
| Line 9: | Line 9: | ||
- Code::Blocks<br> | - Code::Blocks<br> | ||
MSys2 Mingw Environment package install commands | ==MSys2 Mingw Environment package install commands== | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
pacman -S --needed cmake git ${MINGW_PACKAGE_PREFIX}-gcc | pacman -S --needed cmake git ${MINGW_PACKAGE_PREFIX}-gcc \ | ||
${MINGW_PACKAGE_PREFIX}-codeblocks | |||
pacman -S --needed ${MINGW_PACKAGE_PREFIX}-opencascade \ | pacman -S --needed ${MINGW_PACKAGE_PREFIX}-opencascade \ | ||
Revision as of 20:59, 16 May 2025
How-to build KiCad with Code::Blocks
by Tim Stahlhut (stahta01)
Requirements
- KiCAD source
- KiCAD depends
- GCC Toolchain
- CMake
- Code::Blocks
MSys2 Mingw Environment package install commands
pacman -S --needed cmake git ${MINGW_PACKAGE_PREFIX}-gcc \
${MINGW_PACKAGE_PREFIX}-codeblocks
pacman -S --needed ${MINGW_PACKAGE_PREFIX}-opencascade \
${MINGW_PACKAGE_PREFIX}-wxPythonBuild KiCad using CMake and Code::Blocks Steps
cmake \
-DOCC_INCLUDE_DIR="${MINGW_PREFIX}"/include/opencascade \
-DKICAD_BUILD_QA_TESTS=OFF \
-G"CodeBlocks - MinGW Makefiles" .. > log.txt