You've already forked lazarus-ccr
Improves Cocoa bindings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@475 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
2678
bindings/pascocoa/Makefile
Normal file
2678
bindings/pascocoa/Makefile
Normal file
File diff suppressed because it is too large
Load Diff
47
bindings/pascocoa/Makefile.fpc
Normal file
47
bindings/pascocoa/Makefile.fpc
Normal file
@ -0,0 +1,47 @@
|
||||
# File generated automatically by Lazarus Package Manager
|
||||
#
|
||||
# Makefile.fpc for cocoa_pkg 0.0
|
||||
#
|
||||
# This file was generated on 7-6-08
|
||||
|
||||
[package]
|
||||
name=cocoa_pkg
|
||||
version=0.0
|
||||
|
||||
[compiler]
|
||||
unittargetdir=lib/$(CPU_TARGET)-$(OS_TARGET)
|
||||
unitdir=applicationservices/coregraphics/ foundation/ appkit/ ../objc/ ../../../lazarus/packager/units/$(CPU_TARGET)-$(OS_TARGET)/ ./
|
||||
includedir=applicationservices/coregraphics/ foundation/ appkit/ ../objc/ ./
|
||||
options= -S2 -gl
|
||||
|
||||
[target]
|
||||
units=cocoa_pkg.pas
|
||||
|
||||
[clean]
|
||||
files=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) \
|
||||
$(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) \
|
||||
$(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) \
|
||||
$(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) \
|
||||
$(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
|
||||
[prerules]
|
||||
# LCL Platform
|
||||
ifndef LCL_PLATFORM
|
||||
ifeq ($(OS_TARGET),win32)
|
||||
LCL_PLATFORM=win32
|
||||
else
|
||||
ifeq ($(OS_TARGET),win64)
|
||||
LCL_PLATFORM=win32
|
||||
else
|
||||
LCL_PLATFORM=gtk
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
export LCL_PLATFORM
|
||||
|
||||
[rules]
|
||||
.PHONY: cleartarget all
|
||||
|
||||
cleartarget:
|
||||
-$(DEL) $(COMPILER_UNITTARGETDIR)/cocoa_pkg$(PPUEXT)
|
||||
|
||||
all: cleartarget $(COMPILER_UNITTARGETDIR) cocoa_pkg$(PPUEXT)
|
@ -15,7 +15,7 @@ unit appkit;
|
||||
|
||||
interface
|
||||
|
||||
uses ctypes, FPCMacOSAll, objc, foundation, coregraphics;
|
||||
uses ctypes, FPCMacOSAll, objc, foundation, cocoacoregraphics;
|
||||
|
||||
{$define HEADER}
|
||||
{$include AppKit.inc}
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
CoreGraphics is located inside the ApplicationServices framework
|
||||
}
|
||||
unit CoreGraphics;
|
||||
unit CocoaCoreGraphics;
|
||||
|
||||
interface
|
||||
|
52
bindings/pascocoa/cocoa_pkg.lpk
Normal file
52
bindings/pascocoa/cocoa_pkg.lpk
Normal file
@ -0,0 +1,52 @@
|
||||
<?xml version="1.0"?>
|
||||
<CONFIG>
|
||||
<Package Version="3">
|
||||
<Name Value="cocoa_pkg"/>
|
||||
<CompilerOptions>
|
||||
<Version Value="5"/>
|
||||
<SearchPaths>
|
||||
<IncludeFiles Value="applicationservices/coregraphics/;foundation/;appkit/;/Users/felipe/Programas/lazarus-ccr/bindings/objc/"/>
|
||||
<OtherUnitFiles Value="applicationservices/coregraphics/;foundation/;appkit/;/Users/felipe/Programas/lazarus-ccr/bindings/objc/"/>
|
||||
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
|
||||
</SearchPaths>
|
||||
<CodeGeneration>
|
||||
<Generate Value="Faster"/>
|
||||
</CodeGeneration>
|
||||
<Other>
|
||||
<CompilerPath Value="$(CompPath)"/>
|
||||
</Other>
|
||||
</CompilerOptions>
|
||||
<Files Count="4">
|
||||
<Item1>
|
||||
<Filename Value="appkit/appkit.pas"/>
|
||||
<UnitName Value="appkit"/>
|
||||
</Item1>
|
||||
<Item2>
|
||||
<Filename Value="applicationservices/coregraphics/cocoacoregraphics.pas"/>
|
||||
<UnitName Value="cocoacoregraphics"/>
|
||||
</Item2>
|
||||
<Item3>
|
||||
<Filename Value="foundation/foundation.pas"/>
|
||||
<UnitName Value="foundation"/>
|
||||
</Item3>
|
||||
<Item4>
|
||||
<Filename Value="../objc/objc.pas"/>
|
||||
<UnitName Value="objc"/>
|
||||
</Item4>
|
||||
</Files>
|
||||
<Type Value="RunAndDesignTime"/>
|
||||
<RequiredPkgs Count="1">
|
||||
<Item1>
|
||||
<PackageName Value="FCL"/>
|
||||
<MinVersion Major="1" Valid="True"/>
|
||||
</Item1>
|
||||
</RequiredPkgs>
|
||||
<UsageOptions>
|
||||
<UnitPath Value="$(PkgOutDir)"/>
|
||||
</UsageOptions>
|
||||
<PublishOptions>
|
||||
<Version Value="2"/>
|
||||
<IgnoreBinaries Value="False"/>
|
||||
</PublishOptions>
|
||||
</Package>
|
||||
</CONFIG>
|
20
bindings/pascocoa/cocoa_pkg.pas
Normal file
20
bindings/pascocoa/cocoa_pkg.pas
Normal file
@ -0,0 +1,20 @@
|
||||
{ This file was automatically created by Lazarus. Do not edit!
|
||||
This source is only used to compile and install the package.
|
||||
}
|
||||
|
||||
unit cocoa_pkg;
|
||||
|
||||
interface
|
||||
|
||||
uses
|
||||
appkit, CocoaCoreGraphics, foundation, objc, LazarusPackageIntf;
|
||||
|
||||
implementation
|
||||
|
||||
procedure Register;
|
||||
begin
|
||||
end;
|
||||
|
||||
initialization
|
||||
RegisterPackage('cocoa_pkg', @Register);
|
||||
end.
|
Reference in New Issue
Block a user