mirror of https://github.com/fltk/fltk
Stop using ide/Xcode4/plists/editor-Info.plist because ide will be removed.
This file is moved to the test/ directory. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11120 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
5866281d4f
commit
54c1c935e6
|
@ -150,7 +150,7 @@ macro(CREATE_EXAMPLE NAME SOURCES LIBRARIES)
|
||||||
set_target_properties(${tname} PROPERTIES RESOURCE ${RESOURCE_PATH})
|
set_target_properties(${tname} PROPERTIES RESOURCE ${RESOURCE_PATH})
|
||||||
endif(APPLE AND DEFINED RESOURCE_PATH)
|
endif(APPLE AND DEFINED RESOURCE_PATH)
|
||||||
if(APPLE AND (NOT OPTION_APPLE_X11) AND ${tname} STREQUAL "editor")
|
if(APPLE AND (NOT OPTION_APPLE_X11) AND ${tname} STREQUAL "editor")
|
||||||
set_target_properties("editor" PROPERTIES MACOSX_BUNDLE_INFO_PLIST "${PROJECT_SOURCE_DIR}/ide/Xcode4/plists/editor-Info.plist" )
|
set_target_properties("editor" PROPERTIES MACOSX_BUNDLE_INFO_PLIST "${PROJECT_SOURCE_DIR}/test/editor-Info.plist" )
|
||||||
endif(APPLE AND (NOT OPTION_APPLE_X11) AND ${tname} STREQUAL "editor")
|
endif(APPLE AND (NOT OPTION_APPLE_X11) AND ${tname} STREQUAL "editor")
|
||||||
|
|
||||||
target_link_libraries(${tname} ${LIBRARIES})
|
target_link_libraries(${tname} ${LIBRARIES})
|
||||||
|
|
|
@ -443,7 +443,7 @@ tools:
|
||||||
5 MAKE AN APPLICATION LAUNCHABLE BY DROPPING FILES ON ITS ICON
|
5 MAKE AN APPLICATION LAUNCHABLE BY DROPPING FILES ON ITS ICON
|
||||||
=================================================================
|
=================================================================
|
||||||
- Prepare an Info.plist file for your application derived from file
|
- Prepare an Info.plist file for your application derived from file
|
||||||
ide/Xcode4/plists/editor-Info.plist which allows any file to be dropped
|
test/editor-Info.plist which allows any file to be dropped
|
||||||
on the application icon.
|
on the application icon.
|
||||||
You can edit this file in Xcode and change
|
You can edit this file in Xcode and change
|
||||||
Document types/Item 0/CFBundleTypeExtensions/Item 0
|
Document types/Item 0/CFBundleTypeExtensions/Item 0
|
||||||
|
|
|
@ -342,7 +342,7 @@ editor$(EXEEXT): editor.o
|
||||||
echo Linking $@...
|
echo Linking $@...
|
||||||
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) editor.o -o $@ $(LINKFLTKIMG) $(LDLIBS)
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) editor.o -o $@ $(LINKFLTKIMG) $(LDLIBS)
|
||||||
$(OSX_ONLY) ../fltk-config --post $@
|
$(OSX_ONLY) ../fltk-config --post $@
|
||||||
$(OSX_ONLY) cp -f ../ide/Xcode4/plists/editor-Info.plist editor.app/Contents/Info.plist
|
$(OSX_ONLY) cp -f editor-Info.plist editor.app/Contents/Info.plist
|
||||||
|
|
||||||
fast_slow$(EXEEXT): fast_slow.o
|
fast_slow$(EXEEXT): fast_slow.o
|
||||||
fast_slow.cxx: fast_slow.fl ../fluid/fluid$(EXEEXT)
|
fast_slow.cxx: fast_slow.fl ../fluid/fluid$(EXEEXT)
|
||||||
|
|
|
@ -0,0 +1,43 @@
|
||||||
|
<?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>English</string>
|
||||||
|
<key>CFBundleDocumentTypes</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>*</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>AllFiles</string>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Editor</string>
|
||||||
|
<key>LSTypeIsPackage</key>
|
||||||
|
<false/>
|
||||||
|
<key>NSPersistentStoreTypeKey</key>
|
||||||
|
<string>XML</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>editor</string>
|
||||||
|
<key>CFBundleGetInfoString</key>
|
||||||
|
<string>Part of the FLTK library. Please visit www.fltk.org.</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>org.fltk.editor</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>APPL</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>FLTK</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>NSHumanReadableCopyright</key>
|
||||||
|
<string>Copyright 1998-2010 by Bill Spitzak and others.</string>
|
||||||
|
<key>NSHighResolutionCapable</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
Loading…
Reference in New Issue