Some checks failed
Build and Test / build (pull_request) Failing after 2m2s
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.
27 lines
490 B
C
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
|