You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set(PROJECTMSDL_BIN_DIR "${CMAKE_INSTALL_BINDIR}"CACHESTRING"Directory to install executables in, relative to the install prefix.")
22
+
set(PROJECTMSDL_LIB_DIR "${CMAKE_INSTALL_LIBDIR}"CACHESTRING"Directory to install additional libraries in, relative to the install prefix.")
23
+
set(PROJECTMSDL_DATA_DIR "${CMAKE_INSTALL_DATAROOTDIR}/${CMAKE_PROJECT_NAME}"CACHESTRING"Directory to install the config file, presets and texture, relative to the install prefix.")
24
+
set(PROJECTMSDL_PRESETS_DIR "${PROJECTMSDL_DATA_DIR}/presets"CACHESTRING"Directory to install optional preset files, relative to the install prefix.")
25
+
set(PROJECTMSDL_TEXTURES_DIR "${PROJECTMSDL_DATA_DIR}/textures"CACHESTRING"Directory to install optional texture files, relative to the install prefix.")
26
+
27
+
# Additional options for desktop integration
28
+
option(ENABLE_DESKTOP_ICON "Install a .desktop file and icons"ON)
29
+
set(PROJECTMSDL_DESKTOP_DIR "${CMAKE_INSTALL_DATAROOTDIR}/applications"CACHESTRING"Directory to install the .desktop file in, relative to the install prefix.")
30
+
set(PROJECTMSDL_ICONS_DIR "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor"CACHESTRING"Directory to install the icons in, relative to the install prefix.")
set(PROJECTMSDL_BIN_DIR "${BUNDLE_BASE_DIR}/MacOS"CACHESTRING"Directory to install executables in, relative to the install prefix.")
40
+
set(PROJECTMSDL_LIB_DIR "${BUNDLE_BASE_DIR}/PlugIns"CACHESTRING"Directory to install additional libraries in, relative to the install prefix.")
41
+
set(PROJECTMSDL_DATA_DIR "{BUNDLE_BASE_DIR}/Resources"CACHESTRING"Directory to install the config file, presets and texture, relative to the install prefix.")
42
+
set(PROJECTMSDL_PRESETS_DIR "${PROJECTMSDL_DATA_DIR}/Presets"CACHESTRING"Directory to install optional preset files, relative to the install prefix.")
43
+
set(PROJECTMSDL_TEXTURES_DIR "${PROJECTMSDL_DATA_DIR}/Textures"CACHESTRING"Directory to install optional texture files, relative to the install prefix.")
44
+
45
+
set(DEFAULT_CONFIG_PATH "\${application.dir}/../Resources"CACHESTRING"Optional path to look for the configuration file in addition to PROJECTMSDL_BIN_DIR.")
46
+
set(DEFAULT_PRESETS_PATH "\${application.dir}/../Resources/Presets"CACHESTRING"Default presets path in the configuration file.")
47
+
set(DEFAULT_TEXTURES_PATH "\${application.dir}/../Resources/Presets"CACHESTRING"Default textures path in the configuration file.")
48
+
else()
49
+
# Windows and others: use flat layout.
50
+
set(PROJECTMSDL_BIN_DIR "."CACHESTRING"Directory to install executables in, relative to the install prefix.")
51
+
set(PROJECTMSDL_LIB_DIR "."CACHESTRING"Directory to install additional libraries in, relative to the install prefix.")
52
+
set(PROJECTMSDL_DATA_DIR "."CACHESTRING"Directory to install the config file, presets and texture, relative to the install prefix.")
53
+
set(PROJECTMSDL_PRESETS_DIR "${PROJECTMSDL_DATA_DIR}/presets"CACHESTRING"Directory to install optional preset files, relative to the install prefix.")
54
+
set(PROJECTMSDL_TEXTURES_DIR "${PROJECTMSDL_DATA_DIR}/textures"CACHESTRING"Directory to install optional texture files, relative to the install prefix.")
55
+
56
+
set(DEFAULT_CONFIG_PATH ""CACHESTRING"Optional path to look for the configuration file in addition to PROJECTMSDL_BIN_DIR.")
57
+
set(DEFAULT_PRESETS_PATH "\${application.dir}/presets"CACHESTRING"Default presets path in the configuration file.")
58
+
set(DEFAULT_TEXTURES_PATH "\${application.dir}/textures"CACHESTRING"Default textures path in the configuration file.")
59
+
endif()
60
+
16
61
set(SDL2_LINKAGE "shared"CACHESTRING"Set to either shared or static to specify how libSDL2 should be linked. Defaults to shared.")
17
62
option(ENABLE_FREETYPE "Use the Freetype font rendering library instead of the built-in stb_truetype if available"ON)
18
63
19
-
set(DEFAULT_PRESETS_PATH "\${application.dir}/presets"CACHESTRING"Default presets path in the configuration file.")
20
-
set(DEFAULT_TEXTURES_PATH "\${application.dir}/textures"CACHESTRING"Default textures path in the configuration file.")
64
+
65
+
set(PRESET_DIRS ""CACHESTRING"List of paths with presets. Will be installed in \"presets\" ")
66
+
set(TEXTURE_DIRS ""CACHESTRING"List of paths with presets.")
Copy file name to clipboardExpand all lines: src/gui/SettingsWindow.cpp
+1-1
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ void SettingsWindow::Draw()
82
82
83
83
ImGui::TableNextRow();
84
84
LabelWithTooltip("Per-Point Mesh Size X/Y", "Size of the per-point transformation grid.\nHigher values produce better quality, but require more CPU time to calculate.");
0 commit comments