@@ -16,22 +16,12 @@ curl_h = joinpath(include_dir, "curl", "curl.h")
16
16
# mprintf_h = joinpath(include_dir, "curl", "mprintf.h")
17
17
# stdcheaders_h = joinpath(include_dir, "curl", "stdcheaders.h")
18
18
19
+ options = load_options (joinpath (@__DIR__ , " generator.toml" ))
20
+
19
21
for target in JLLEnvs. JLL_ENV_TRIPLES
20
22
@info " processing $target "
21
23
22
- # programmatically add options
23
- options = Dict {String,Any} (" general" => Dict {String,Any} ())
24
- general = options[" general" ]
25
- general[" library_name" ] = " libcurl"
26
- general[" output_file_path" ] = joinpath (@__DIR__ , " .." , " lib" , " $target .jl" )
27
- general[" use_julia_native_enum_type" ] = true
28
- general[" auto_mutability" ] = true
29
- general[" use_deterministic_symbol" ] = true
30
- general[" printer_blacklist" ] = [
31
- " CURL_SUFFIX_CURL_OFF_T" ,
32
- " CURL_SUFFIX_CURL_OFF_TU" ,
33
- " CURL_ZERO_TERMINATED" ,
34
- ]
24
+ options[" general" ][" output_file_path" ] = joinpath (@__DIR__ , " .." , " lib" , " $target .jl" )
35
25
36
26
args = get_default_args (target)
37
27
push! (args, " -I$include_dir " )
0 commit comments