Mercurial > dwindows
view mac/Info.plist @ 2163:98db0e81a514
Rewrite the Compiler detection tests for deprecation and unused.
Simplify and make more safe, clang or compilers supporting __has_extension()
and __has_attribute() should work perfectly. There are now GCC version
tests for all these features, however there seems to be some disagreement
online about which GCC versions introduced these features, so I picked the
versions that I felt had the highest consensus. Can revisit the specific
versions if new information is available:
unused attribute: GCC 3.1 (BSD seems to think 2.7)
deprecated attribute: GCC 3.2 (Hedley seems to think 4.0)
deprecated with message attribute: GCC 4.5
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 30 Sep 2020 19:34:17 +0000 |
parents | a3de27b07a8d |
children | ef7a414f9b71 |
line wrap: on
line source
<?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>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleExecutable</key> <string>dwtest</string> <key>CFBundleIconFile</key> <string></string> <key>CFBundleIdentifier</key> <string>org.dbsoft.dwtest</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>dwtest</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> <string>1.1</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> <string>1</string> <key>LSApplicationCategoryType</key> <string>public.app-category.developer-tools</string> <key>LSMinimumSystemVersion</key> <string>${MACOSX_DEPLOYMENT_TARGET}</string> <key>NSPrincipalClass</key> <string>NSApplication</string> <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoadsInWebContent</key> <true/> <key>NSAllowsArbitraryLoads</key> <true/> </dict> </dict> </plist>