Files
create/src/Mod/Create/CreateGlobal.h
forbes-0023 5d8a253956
Some checks failed
Build and Test / build (pull_request) Failing after 2m2s
feat(create): add C++ module scaffold with App/ and Gui/ targets (#251)
Establish build infrastructure for Kindred-specific C++ features:

- CreateGlobal.h: export macros (CreateExport, CreateGuiExport)
- App/: CreateApp shared library (PyMOD_INIT_FUNC, Py::ExtensionModule)
- Gui/: CreateGui shared library (links CreateApp + FreeCADGui)
- CMakeLists.txt: add_subdirectory(App) + conditional add_subdirectory(Gui)

Scaffold only — no features. Follows the Assembly module pattern.
Existing Python Init.py/InitGui.py bootstrap unchanged.
2026-02-17 11:50:44 -06:00

27 lines
490 B
C

// SPDX-License-Identifier: LGPL-2.1-or-later
#include <FCGlobal.h>
#ifndef CREATE_GLOBAL_H
#define CREATE_GLOBAL_H
// CreateApp
#ifndef CreateExport
# ifdef Create_EXPORTS
# define CreateExport FREECAD_DECL_EXPORT
# else
# define CreateExport FREECAD_DECL_IMPORT
# endif
#endif
// CreateGui
#ifndef CreateGuiExport
# ifdef CreateGui_EXPORTS
# define CreateGuiExport FREECAD_DECL_EXPORT
# else
# define CreateGuiExport FREECAD_DECL_IMPORT
# endif
#endif
#endif // CREATE_GLOBAL_H