Difference between revisions of "KiCadBuildQuickRef"
From Code::Blocks
Line 19: | Line 19: | ||
===Build KiCad using CMake and Code::Blocks Steps=== | ===Build KiCad using CMake and Code::Blocks Steps=== | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | cmake \ | ||
+ | -DOCC_INCLUDE_DIR="${MINGW_PREFIX}"/include/opencascade \ | ||
+ | -DKICAD_BUILD_QA_TESTS=OFF \ | ||
+ | -G"CodeBlocks - MinGW Makefiles" .. > log.txt | ||
+ | |||
+ | </syntaxhighlight> |
Revision as of 20:57, 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
pacman -S --needed ${MINGW_PACKAGE_PREFIX}-opencascade \
${MINGW_PACKAGE_PREFIX}-wxPython
Build 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