What do you want to achieve?
I’d like my UI designer to be able to name things using periods and other characters not allowed as C identifiers or preprocessor macros.
What have you tried so far?
I tried compiling a C exported project named web.com, but it failed with a large number of compiler errors like so:
C:/Projects/WDC/main/ui/ui.h:6:15: warning: extra tokens at end of #ifndef directive
6 | #ifndef _WEB.COM.SCREENS_UI_H
| ^
Indeed ui.h is not preprocessable C:
// This file was generated by SquareLine Studio
// SquareLine Studio version: SquareLine Studio 1.3.2
// LVGL version: 8.3.6
// Project name: web.com.screens
#ifndef _WEB.COM.SCREENS_UI_H
#define _WEB.COM.SCREENS_UI_H
#ifdef __cplusplus
extern "C" {
#endif
- **SquareLine Studio version: 1.3.2
- **Operating system: Windows 11
- Target hardware: ESP32 custom PCB