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

« back to all changes in this revision

Viewing changes to eeschema/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:
297
297
            RUNTIME_OUTPUT_DIRECTORY ${OSX_BUNDLE_BUILD_BIN_DIR}
298
298
            )
299
299
        set_target_properties( eeschema_kiface PROPERTIES
300
 
            LIBRARY_OUTPUT_DIRECTORY ${OSX_BUNDLE_BUILD_BIN_DIR}
301
 
            )
302
 
        set( OSX_BUNDLE_PLUGINS ${OSX_BUNDLE_PLUGINS} "${OSX_BUNDLE_INSTALL_BIN_DIR}/_eeschema.kiface"
303
 
            PARENT_SCOPE
 
300
            LIBRARY_OUTPUT_DIRECTORY ${OSX_BUNDLE_BUILD_KIFACE_DIR}
304
301
            )
305
302
    else()
306
303
        install( TARGETS eeschema