Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 728fbdefd8
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (29 sloc) 1.304 kB
;; source files
(set @c_files (filelist "^objc/.*\.c$"))
(set @m_files (filelist "^objc/.*\.m$"))
(set @nu_files (filelist "^nu/.*\.nu$"))
(set @frameworks '("Cocoa" "Nu" "Carbon"))
(if (or isSnowLeopard isLion)
(then
;; Make sure you download and build the mach_inject_bundle first
;; Get it at git://github.com/rentzsch/mach_star.git
(if (isSnowLeopard)
(then (set @cflags "-isysroot /Developer/SDKs/MacOSX10.6.sdk "))
(else (set @cflags "-isysroot /Developer/SDKs/MacOSX10.7.sdk ")))
(set @ldflags " -framework Cocoa -framework Nu -framework Carbon -framework mach_inject_bundle")
(set @arch '("x86_64" )))
(else
;; If not Snow Leopard, then use the included version of mach_star
(set @includes " -I../libinject/objc")
(set @ldflags " -framework Cocoa -framework Nu -framework Carbon -linject -L../libinject ")
(set @arch '("i386" ))))
(set @mflags " -fobjc-exceptions -fobjc-gc ")
;; framework description
(set @framework "NuInject")
(set @framework_identifier "nu.programming.inject")
(set @framework_creator_code "????")
(compilation-tasks)
(framework-tasks)
(task "default" => "framework")
(task "clobber" => "clean" is
(SH "rm -rf #{@framework}.framework"))
Jump to Line
Something went wrong with that request. Please try again.