page layout editor: Add missing Info.plist for OSX.
Mingw, all: remove static link of libgcc, which can create issues when using dll version of wxWidgets. Therefore libgcc_s_dw2-1.dll should be in the paths for executables.
This commit is contained in:
parent
3a821bf8e6
commit
99b640584f
|
@ -114,10 +114,15 @@ if( CMAKE_COMPILER_IS_GNUCXX )
|
|||
|
||||
if( MINGW )
|
||||
# Set default flags for Release build.
|
||||
set( CMAKE_EXE_LINKER_FLAGS_RELEASE "-s -static-libgcc -static-libstdc++" )
|
||||
# Use a static link for libstdc++ reduce the starting time for Pcbnew (and eeschema)
|
||||
# (10 times faster)
|
||||
# This problem is caused by large relocation table and inefficient MinGW implementation
|
||||
# see http://sourceforge.net/p/mingw/bugs/1747/ and also
|
||||
# http://stackoverflow.com/questions/15310996/clang-slow-startup-using-mingw
|
||||
set( CMAKE_EXE_LINKER_FLAGS_RELEASE "-s -static-libstdc++" )
|
||||
|
||||
# Set default flags for Debug build.
|
||||
set( CMAKE_MODULE_LINKER_FLAGS "-static-libgcc -static-libstdc++") # SWIG macros on Windows
|
||||
set( CMAKE_MODULE_LINKER_FLAGS "-static-libstdc++")
|
||||
|
||||
else()
|
||||
# We build DLL/DSOs from static libraries, so create position independent code
|
||||
|
|
|
@ -0,0 +1,53 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDocumentTypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Editor</string>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>kicad_wks</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>pl_editor.icns</string>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>pl_editor document</string>
|
||||
<key>LSHandlerRank</key>
|
||||
<string>Owner</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>pl_editor</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string></string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>pl_editor.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.kicad-eda.pl_editor</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleLongVersionString</key>
|
||||
<string></string>
|
||||
<key>CFBundleName</key>
|
||||
<string>pl_editor</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string></string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string></string>
|
||||
<key>CSResourcesFileMapped</key>
|
||||
<true/>
|
||||
<key>LSRequiresCarbon</key>
|
||||
<true/>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</plist>
|
Loading…
Reference in New Issue