Changeset 12641


Ignore:
Timestamp:
Aug 21, 2009, 8:17:20 PM (10 years ago)
Author:
gb
Message:

Conditionalize for Cocotron: get the platform-specific bundle
subdirectory right, don't try to load EasyGUI for now (contains
some Mac-specific code that needs to be conditionalized), don't
try to call CCL::TOUCH on directories (not necessary in Cocotron,
and doesn't seem to work in Windows ...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/cocoa-ide/start.lisp

    r12487 r12641  
    129129    (wait-on-semaphore *cocoa-application-finished-launching*)
    130130
     131    #-cocotron                          ;needs conditionalization
    131132    (require :easygui)
    132133
     
    142143        (break "ObjC classes ~{~&~a~} are declared but not defined." missing)))
    143144
     145    #-cocotron
    144146    (ccl::touch bundle-path)
    145147
    146148    (let ((image-file (make-pathname :name (ccl::standard-kernel-name) :type nil :version nil
    147                                      :defaults (merge-pathnames ";Contents;MacOS;" bundle-path))))
     149                                     :defaults (merge-pathnames (format nil";Contents;~a;" #+darwin-target "MacOS" #+cocotron "Windows") bundle-path))))
    148150      (format *error-output* "~2%Saving application to ~a~2%" (truename bundle-path))
    149151      (force-output *error-output*)
Note: See TracChangeset for help on using the changeset viewer.