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

« back to all changes in this revision

Viewing changes to gerbview/CMakeLists.txt

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:
140
140
            RUNTIME_OUTPUT_DIRECTORY ${OSX_BUNDLE_BUILD_BIN_DIR}
141
141
            )
142
142
        set_target_properties( gerbview_kiface PROPERTIES
143
 
            LIBRARY_OUTPUT_DIRECTORY ${OSX_BUNDLE_BUILD_BIN_DIR}
144
 
            )
145
 
        set( OSX_BUNDLE_PLUGINS ${OSX_BUNDLE_PLUGINS} "${OSX_BUNDLE_INSTALL_BIN_DIR}/_gerbview.kiface"
146
 
            PARENT_SCOPE
 
143
            LIBRARY_OUTPUT_DIRECTORY ${OSX_BUNDLE_BUILD_KIFACE_DIR}
147
144
            )
148
145
    else()
149
146
        install( TARGETS gerbview