artefaktur
software engineer &        architecture

 
 
 
 

ACDK Make Projects

In ACDK Make Project a compilation unit (executable or library) will be defined.




;;; do not change this
(defun acdk-main-init ()
  ;;..
)


(defun make-main ()
  (acdk-main-init)
  
  (setg acdkmake-project-name  "HelloWorld") ;;; replace this name
  (setg acdkmake-project-type "exe") ;; exe or dll  (later also lib)
  
  ;; normally you doesn't need to modify this
  (setg acdkmake-project-dir-root ".")
  (setg acdkmake-project-exec-dir (s+ acdk-home "/bin" (if acdkmake-xcompile-enabled (s+ "/" acdkmake-target) "")))
  (setg acdkmake-project-object-dir (s+ "../obj/" acdkmake-project-name "/" acdkmake-target))
  (setg acdkmake-project-template "ACDKCore")
  
  ; add this list of directories in to include compile statement
  ; acdk include will included automatically
  (setg acdkmake-project-includes 
    '(
        "."
      )
   ) 
  
  ;; all used libraries 
  (setg acdkmake-project-acdklibs 
    '(
      "acdk_core"  ; the list of used acdk-libraries
      "acdk_text"
      "acdk_boot"
     )
  )
  
  ;; other libraries  as a list of strings
  ;; like "perl". 
  ;; don't add prefixes (like 'lib' on unix) or sufixes (.dll/.so)
  ;; to the name
  (setg acdkmake-project-libs 
    '(
      
     )
  )
  ;; custom LDFLAGS as a list of strings
  (setg acdkmake-project-ldflags 
    '(
      )
   )

  ; needed for windows plattform for each used library
  (setg acdkmake-project-defines 
    '(
      ("ACDK_USE_ACDK_LIB") 
      ("USE_ACDK_TEXT_LIB")
      ("USE_ACDK_BOOT_LIB")
    )
  )
  
  (setg acdkmake-project-sourcelist ; directory and/or source files
    '(
      "acdk/HelloWorld.cpp"
     )
  )
  (acdkmake-main) ; generate the make/projekt files
)


(make-main) ; just call make-main above


 
Last modified 2005-05-08 18:31 by SYSTEM By Artefaktur, Ing. Bureau Kommer