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
If all the APP_SRCS variables are set to empty strings to avoid globbing for sources, and instead all the application sources are specified by SOURCE_FILES then cmake configuration fails because there is no source available for the xcc -dumpmachine command.
The motivation for this is an improvement that @xhuw is working on for lib_unity to make it simpler to add unit tests across our libraries and reduce code duplication - but it relies on setting all the sources via SOURCE_FILES_.
A dummy source file could be created for the determining the architecture, and then deleted. Alternatively, it might be possible to reorder the processing of the configs so that the sources in the SOURCE_FILES_ variable could be used to get the architecture.
The text was updated successfully, but these errors were encountered:
If all the APP_SRCS variables are set to empty strings to avoid globbing for sources, and instead all the application sources are specified by SOURCE_FILES then cmake configuration fails because there is no source available for the
xcc -dumpmachine
command.The motivation for this is an improvement that @xhuw is working on for lib_unity to make it simpler to add unit tests across our libraries and reduce code duplication - but it relies on setting all the sources via SOURCE_FILES_.
A dummy source file could be created for the determining the architecture, and then deleted. Alternatively, it might be possible to reorder the processing of the configs so that the sources in the SOURCE_FILES_ variable could be used to get the architecture.
The text was updated successfully, but these errors were encountered: