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
# Addresses an issue where language servers won't know what to do with header files | |
# since compile_commands.json typically only includes .cc/.cpp/.c files. | |
# | |
# Include this file from your main Makefile, or just paste the snippet in. | |
# To use: | |
# make compile_commands | |
# Requires bear and compdb | |
# bear [osx]: brew install bear | |
# compdb [see https://github.com/Sarcasm/compdb]: pip install compdb |
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
Kicad Building: | |
First, clone the repo: | |
$ git clone https://github.com/wayneandlayne/KiCadMacOSPackaging.git | |
Then | |
modify compile_kicad.py (set the correct location of OCE.framework-- the origin/master assumes your OSX username is `kicad`) | |
modify compile_wx.sh (reduce # of cores to 3, add some patches and disable mediactrl), | |
modify setup.sh (make it install bison, oce, and gettext) | |
Here's the patch to do all that: |