Created
May 1, 2018 22:59
-
-
Save seppestas/72af6f7311b5a1c54ebbfb66435a56ca to your computer and use it in GitHub Desktop.
cmake command to set up KiCad MacOS build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake -DCMAKE_C_COMPILER=clang \ | |
-DCMAKE_CXX_COMPILER=clang++ \ | |
-DCMAKE_OSX_DEPLOYMENT_TARGET=${$(defaults read loginwindow SystemVersionStampAsString)%.*} \ | |
-DwxWidgets_CONFIG_EXECUTABLE=/usr/local/opt/kicad-wxwidgets/bin/wx-config \ | |
-DKICAD_SCRIPTING=ON \ | |
-DKICAD_SCRIPTING_MODULES=ON \ | |
-DKICAD_SCRIPTING_WXPYTHON=ON \ | |
-DKICAD_SCRIPTING_ACTION_MENU=ON \ | |
-DPYTHON_EXECUTABLE=/usr/local/bin/python2 \ | |
-DPYTHON_SITE_PACKAGE_PATH=/usr/local/opt/kicad-wxpython/lib/python2.7/site-packages \ | |
-DCMAKE_INSTALL_PREFIX=../bin \ | |
-DCMAKE_BUILD_TYPE=Debug \ | |
-DKICAD_SPICE=ON \ | |
-DKICAD_USE_OCE=ON \ | |
-DOCE_DIR=/usr/local/Cellar/oce/0.18.2/OCE.framework/Versions/0.18/Resources/ \ | |
../../ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment