ビルド方法
ナビゲーションに移動
検索に移動
Windows
Linux
Mac OSX
- git clone git://gist.github.com/2763241.git
- svn checkout http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk wxWidgets
- cd wxWidgets
- patch -p0 <../2763241/wxWidgets-kicad-overlay.patch
- patch -p0 <../2763241/wxWidgets-magnify-macosx.patch
- mkdir build-release
- cd build-release
- ../configure --enable-release --enable-unicode=yes --disable-shared --enable-monolithic --with-opengl --with-expat=builtin --enable-aui --with-osx_cocoa --enable-universal-binary=i386,x86_64 --with-macosx-version-min=10.6 --prefix=$PWD/../build-release CFLAGS=-DMAC_OS_X_VERSION_MAX_ALLOWED=1060 CXXFLAGS=-DMAC_OS_X_VERSION_MAX_ALLOWED=1060
- make
- cd ../..
- bzr branch lp:kicad
- cd kicad
- patch -p0 <../2763241/kicad-cmake-line-formatting.patch
- patch -p0 <../2763241/kicad-boost-polygon-sort-adaptor.patch
- patch -p0 <../2763241/kicad-magnify-macosx.patch
- mkdir build-xcode
- cd build-xcode