Skip to content
Snippets Groups Projects
Commit 2b358b5a authored by Marco Matthies's avatar Marco Matthies
Browse files

Only call precompile when doing precompilation

parent 585962cc
Branches
Tags
No related merge requests found
...@@ -27,6 +27,9 @@ using QML: QML, JuliaPropertyMap, QString, QTimer, @emit, @qmlfunction, ...@@ -27,6 +27,9 @@ using QML: QML, JuliaPropertyMap, QString, QTimer, @emit, @qmlfunction,
using ResumableFunctions: ResumableFunctions, @resumable, @yield using ResumableFunctions: ResumableFunctions, @resumable, @yield
using TOML: TOML using TOML: TOML
export
launch
# To visualise dependencies, see here: https://tfiers.github.io/PkgGraph.jl/v0.6/ # To visualise dependencies, see here: https://tfiers.github.io/PkgGraph.jl/v0.6/
include("variables.jl") include("variables.jl")
...@@ -34,10 +37,12 @@ include("logic.jl") ...@@ -34,10 +37,12 @@ include("logic.jl")
include("config.jl") include("config.jl")
include("GUI.jl") include("GUI.jl")
precompile(launch, ()) function _precompile()
precompile(render_map, (Any,)) #what's the input type? ccall(:jl_generating_output, Cint, ()) == 1 || return nothing
precompile(launch, ())
export precompile(render_map, (Any,)) #what's the input type?
launch return
end
_precompile()
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment