A performance-oriented Lisp-like language where I can have my cake, and eat it (too)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

44 lines
1.5 KiB

(skip-build)
(set-cakelisp-option executable-output "bin/cakelisp.exe")
(add-c-search-directory-module "src")
(add-cpp-build-dependency
"Tokenizer.cpp"
"Evaluator.cpp"
"Utilities.cpp"
"FileUtilities.cpp"
"Converters.cpp"
"Writer.cpp"
"Generators.cpp"
"GeneratorHelpers.cpp"
"RunProcess.cpp"
"OutputPreambles.cpp"
"DynamicLoader.cpp"
"ModuleManager.cpp"
"Logging.cpp"
"Build.cpp"
"Main.cpp")
(add-build-options "/nologo" "/DWINDOWS" "/DCAKELISP_EXPORTING" "/EHsc"
;;; DEBUG ONLY! Note that link also needs /DEBUG
"/Zi" "/FS" "/Fd:bin\cakelisp.pdb" "/DEBUG:FASTLINK" "/MDd")
(set-cakelisp-option build-time-compiler "cl.exe")
(set-cakelisp-option build-time-compile-arguments
"/c" 'source-input 'object-output
'include-search-dirs 'additional-options)
(set-cakelisp-option compile-time-compiler "cl.exe")
(set-cakelisp-option compile-time-compile-arguments
"/nologo" "/DEBUG:FASTLINK" "/MDd" "/c" 'source-input 'object-output
'cakelisp-headers-include)
;; cl.exe for linker also works
(set-cakelisp-option build-time-linker "link.exe")
(set-cakelisp-option build-time-link-arguments
'additional-options "/nologo" "/DEBUG:FASTLINK" 'executable-output 'object-input
'library-search-dirs 'libraries 'library-runtime-search-dirs 'linker-arguments)
;; Use separate build configuration in case other things build files from src/
(add-build-config-label "Bootstrap_Windows")