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