-
Notifications
You must be signed in to change notification settings - Fork 112
Expand file tree
/
Copy pathoptions.lua
More file actions
74 lines (61 loc) · 1.96 KB
/
Copy pathoptions.lua
File metadata and controls
74 lines (61 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
-------------------------------------------------------------------------------
--
-- MODULE : options.lua
-- DESCRIPTION : variables for STEM
-- COPYRIGHT : (C) 2026 JimZhouZZY
--
-- This software falls under the GNU general public license version 3 or later.
-- It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
-- in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
-- Add options for different features
option("style_agent")
set_default(false)
set_description("Enable Style Agent")
option_end()
option("windows_system_borders")
set_default(false)
set_description("Enable Windows System Borders")
option_end()
option("qt_frontend")
set_default(true)
set_description("Build the Qt frontend (default: ImGui frontend)")
option_end()
option("cli_frontend")
set_default(false)
set_description("Build the UI-free CLI frontend (no Qt/ImGui/glfw); for mogan-render")
option_end()
option("pdfhummus")
set_default(true)
set_description("Enable PDFHummus plugin")
option_end()
option("goldfish")
set_default(true)
set_description("Enable Goldfish plugin")
option_end()
option("mupdf")
set_default(true)
set_description("Enable MuPDF library")
option_end()
-- Temporary statement to move into MuPDF
set_config("mupdf", true)
option("startup_tab")
set_default(true)
set_description("Enable startup tab with left navigation")
option_end()
option("text_toolbar")
set_default(false)
set_description("Enable text selection floating toolbar")
option_end()
-- Adjust community or commercial version
option("is_community")
set_default(is_community)
set_description("Adjust community or commercial version")
option_end()
option("debug_with_timestamp")
set_default(true)
set_description("Enable timestamps in debug messages")
option_end()
option("loro")
set_default(true)
set_description("Enable Loro CRDT FFI (builds 3rdparty/mogan-loro-ffi via cargo)")
option_end()