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.
 
 
 
 

31 lines
797 B

(skip-build)
(set-cakelisp-option executable-output "bin/cakelisp")
(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 "-DUNIX" "-Wall" "-Werror" "-std=c++11")
;; Cakelisp dynamically loads compile-time code
(add-library-dependency "dl")
;; Compile-time code can call much of Cakelisp. This flag exposes Cakelisp to dynamic libraries
(add-linker-options "--export-dynamic")
;; Use separate build configuration in case other things build files from src/
(add-build-config-label "Bootstrap")