@@ -69,10 +69,11 @@ ## Optional Arguments set build_packages [list] set build_options(threaded) 0 set build_options(kitdll) 0 + set build_options(debug) 0 foreach arg [array names args] { switch -glob -- $arg { "option_package_*" { set package [join [lrange [split $arg _] 2 end] _] @@ -82,10 +83,13 @@ set build_options(threaded) 1 } "option_kitdll" { set build_options(kitdll) 1 } + "option_debug" { + set build_options(debug) 1 + } "option_storage" { switch -- $args($arg) { "mk4" - "zip" - "cvfs" { set build_options(storage) $args($arg) } @@ -138,11 +142,11 @@ set key [list $secret $build_platform $cache_tcl_version $cache_kitcreator_version $build_packages] ## Update key with options in deterministic order foreach option [lsort -dictionary [array names build_options]] { switch -- $option { - "threaded" - "kitdll" { + "threaded" - "kitdll" - "debug" { # For boolean options, skip them if they are not enabled if {!$build_options($option)} { continue } } @@ -308,10 +312,11 @@ Package:
Kit: Threaded
+ Kit: Debugging Build
Kit: Build Library (KitDLL)
Kit Storage: