~pierre-parent-k/kicad/length-tunning

« back to all changes in this revision

Viewing changes to common/kiway.cpp

OSX build fixes and improvements.

* Fix creation of single app bundle with respect to scripting support.
* Cleanup scripting search paths for OSX.
* Fix some small CMake bugs from previous OSX build change.
* Optimize bundle file structure to be consistent with Apple specs.
* Add helper script for compiling wxWidgets and wxPython
* Update OSX build instructions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
    }
115
115
 
116
116
    wxFileName fn = wxStandardPaths::Get().GetExecutablePath();
 
117
#ifdef __WXMAC__
 
118
    // we have the dso's in @executable_path/../Plugins in OSX bundle
 
119
    fn.RemoveLastDir();
 
120
    fn.AppendDir( wxT( "Plugins" ) );
 
121
#endif
117
122
 
118
123
    fn.SetName( name );
119
124