You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
including declartion and cores in lib_xua/main.xc is done via 2 macros defined in user_main.h.
This file name is defined in the OPTIONAL_HEADERS in file lib_xua/module_build_info, and also in LIB_OPTIONAL_HEADERS in lib_xua/lib_build_info.cmake
A better solution, while retro compatible, would be to have separated .h files for the declarations and cores section, instead of basic text written in #define statements.
I suggest to add the files user_main_declarations.h and user_main_cores.h in the list of optional headers, and to add following piece of code in the main.xc file:
This provide a more flexible and powerfull solution to change the content of main.xc and the original user_main.h solution remains, which is useful for declaring globals or include statements in the top of main.xc
The text was updated successfully, but these errors were encountered:
Hello,
including declartion and cores in lib_xua/main.xc is done via 2 macros defined in user_main.h.
This file name is defined in the OPTIONAL_HEADERS in file lib_xua/module_build_info, and also in LIB_OPTIONAL_HEADERS in lib_xua/lib_build_info.cmake
A better solution, while retro compatible, would be to have separated .h files for the declarations and cores section, instead of basic text written in #define statements.
I suggest to add the files user_main_declarations.h and user_main_cores.h in the list of optional headers, and to add following piece of code in the main.xc file:
This provide a more flexible and powerfull solution to change the content of main.xc and the original user_main.h solution remains, which is useful for declaring globals or include statements in the top of main.xc
The text was updated successfully, but these errors were encountered: