blender/extern/toml11/CMakeLists.txt
Hans Goudey e280aa3e44 UI: TOML File for Saving UI State Settings
This PR adds a TOML-formatted file to the user's config folder (next to
userpref.blend) to store remembered UI states and values. These are
saved always, unlike userprefs. If the file does not exist on startup
it is created from defaults. Any items not found in the file use
default values.

In a nutshell this will give us a tool to allow Blender to behave next
time as it did the last time. For testing this uses the system to save
temp window locations and sizes, file browser settings, and (new)
the order and open/close status of File Browser side panels.

Updated version of #154348 by @Harley.

Pull Request: https://projects.blender.org/blender/blender/pulls/162425

Co-authored-by: Harley Acheson <harley.acheson@gmail.com>
2026-08-18 23:02:21 +02:00

7 lines
241 B
CMake

# SPDX-FileCopyrightText: 2026 Blender Foundation
#
# SPDX-License-Identifier: GPL-2.0-or-later
add_library(extern_toml INTERFACE)
target_include_directories(extern_toml SYSTEM INTERFACE ".")
add_library(bf::extern::toml ALIAS extern_toml)