mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-23 13:59:24 +01:00
Adds the Cocoa widgetset.
git-svn-id: trunk@14796 -
This commit is contained in:
parent
af204c1c8f
commit
c48bc3eba2
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -3031,6 +3031,7 @@ lcl/interfaces/carbon/interfaces.pas svneol=native#text/pascal
|
|||||||
lcl/interfaces/carbon/issues.xml svneol=native#text/xml
|
lcl/interfaces/carbon/issues.xml svneol=native#text/xml
|
||||||
lcl/interfaces/carbon/mackeycodes.inc svneol=native#text/pascal
|
lcl/interfaces/carbon/mackeycodes.inc svneol=native#text/pascal
|
||||||
lcl/interfaces/carbon/opengl.pas svneol=native#text/plain
|
lcl/interfaces/carbon/opengl.pas svneol=native#text/plain
|
||||||
|
lcl/interfaces/cocoa/Makefile.fpc svneol=native#text/plain
|
||||||
lcl/interfaces/fpgui/Makefile.fpc svneol=native#text/plain
|
lcl/interfaces/fpgui/Makefile.fpc svneol=native#text/plain
|
||||||
lcl/interfaces/fpgui/README.txt svneol=native#text/plain
|
lcl/interfaces/fpgui/README.txt svneol=native#text/plain
|
||||||
lcl/interfaces/fpgui/fpguiint.pp svneol=native#text/pascal
|
lcl/interfaces/fpgui/fpguiint.pp svneol=native#text/pascal
|
||||||
|
|||||||
@ -463,7 +463,8 @@ const LCLWidgetLinkerAddition: array[TLCLPlatform] of string = (
|
|||||||
' -k-framework -kcarbon -k-framework -kOpenGL -k''-dylib_file'' -k''/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib''', // carbon
|
' -k-framework -kcarbon -k-framework -kOpenGL -k''-dylib_file'' -k''/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib''', // carbon
|
||||||
'', // qt
|
'', // qt
|
||||||
'', // fpGUI
|
'', // fpGUI
|
||||||
'' // noGUI
|
'', // noGUI
|
||||||
|
' -k-framework -kCocoa' // Cocoa
|
||||||
);
|
);
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|||||||
@ -55,9 +55,10 @@ const
|
|||||||
'win32/win64',
|
'win32/win64',
|
||||||
'wince (beta)',
|
'wince (beta)',
|
||||||
'carbon (alpha)',
|
'carbon (alpha)',
|
||||||
'qt (alpha)',
|
'qt (beta)',
|
||||||
'fpGUI (pre-alpha)',
|
'fpGUI (pre-alpha)',
|
||||||
'NoGUI (pre-alpha)'
|
'NoGUI (pre-alpha)',
|
||||||
|
'cocoa (pre-alpha)'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -62,7 +62,8 @@ type
|
|||||||
lpCarbon,
|
lpCarbon,
|
||||||
lpQT,
|
lpQT,
|
||||||
lpfpGUI,
|
lpfpGUI,
|
||||||
lpNoGUI
|
lpNoGUI,
|
||||||
|
lpCocoa
|
||||||
);
|
);
|
||||||
|
|
||||||
TLCLPlatforms = set of TLCLPlatform;
|
TLCLPlatforms = set of TLCLPlatform;
|
||||||
@ -126,7 +127,8 @@ const
|
|||||||
'carbon',
|
'carbon',
|
||||||
'qt',
|
'qt',
|
||||||
'fpgui',
|
'fpgui',
|
||||||
'nogui'
|
'nogui',
|
||||||
|
'cocoa'
|
||||||
);
|
);
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|||||||
35
lcl/interfaces/cocoa/Makefile.fpc
Normal file
35
lcl/interfaces/cocoa/Makefile.fpc
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# $Id: Makefile.fpc 12495 2007-10-16 22:47:51Z mattias $
|
||||||
|
#
|
||||||
|
# Makefile.fpc for Lazarus for Free Pascal
|
||||||
|
#
|
||||||
|
|
||||||
|
[package]
|
||||||
|
main=lcl
|
||||||
|
|
||||||
|
[require]
|
||||||
|
packages=rtl
|
||||||
|
|
||||||
|
[target]
|
||||||
|
units=interfaces
|
||||||
|
implicitunits=cocoaint
|
||||||
|
|
||||||
|
[compiler]
|
||||||
|
options=-gl -dcocoa
|
||||||
|
unitdir=../../units/$(CPU_TARGET)-$(OS_TARGET) . pascocoa/foundation pascocoa/appkit
|
||||||
|
unittargetdir=../../units/$(CPU_TARGET)-$(OS_TARGET)/cocoa
|
||||||
|
|
||||||
|
[clean]
|
||||||
|
files=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) \
|
||||||
|
$(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) \
|
||||||
|
$(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) \
|
||||||
|
$(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
|
||||||
|
|
||||||
|
|
||||||
|
[rules]
|
||||||
|
.PHONY: cleartarget all
|
||||||
|
|
||||||
|
cleartarget:
|
||||||
|
-$(DEL) $(COMPILER_UNITTARGETDIR)/interfaces$(PPUEXT) \
|
||||||
|
$(COMPILER_UNITTARGETDIR)/interfaces$(OEXT)
|
||||||
|
|
||||||
|
all: cleartarget $(COMPILER_UNITTARGETDIR) interfaces$(PPUEXT)
|
||||||
Loading…
Reference in New Issue
Block a user