- tb_editor_internal.h e tb_editor_modules.h (antes em internal/) e tb_stage_widget.h (antes em src/) foram para libraries/tinyblocks-editor/include/. - Os três são API privada: só compilam com TB_EDITOR_PRIVATE_API (o editor, os módulos do bundle e o harness definem); fora disso um #error manda incluir tb_editor.h. - Includes viraram <tb_editor_internal.h> etc.; Makefiles sem -Isrc / -Iinternal; library.toml descreve os fontes e o define. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
834 B
TOML
21 lines
834 B
TOML
# Metadados da library editor. Lido pela UI/build sem recompilar o .so.
|
|
[library]
|
|
name = "tinyblocks-editor"
|
|
version = "1.0.0"
|
|
category = "Meus Blocos"
|
|
description = "Editor visual e blocos compostos"
|
|
color = [255, 102, 128, 255]
|
|
dark = [255, 51, 85, 255]
|
|
|
|
# O editor e um bundle: as libraries privadas em libraries/ vem junto.
|
|
bundle_members = ["tinyblocks-editor-widgets", "tinyblocks-editor-image", "tinyblocks-editor-files"]
|
|
|
|
[build]
|
|
sources = ["src/tb_editor.c", "src/tb_stage_widget.c", "src/tb_editor_modules.c"]
|
|
includes = ["include"]
|
|
# tb_editor_internal.h, tb_editor_modules.h e tb_stage_widget.h sao API privada
|
|
defines = ["TB_EDITOR_PRIVATE_API"]
|
|
shared = "build/libtinyblocks-editor.so"
|
|
static = "build/libtinyblocks-editor.a"
|
|
depends = ["tinyblocks-editor-widgets", "tinyblocks-editor-image", "tinyblocks-editor-files"]
|