Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support application sources defined only be SOURCE_FILES_<config> #153

Open
danielpieczko opened this issue May 16, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@danielpieczko
Copy link
Collaborator

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.

@danielpieczko danielpieczko added the enhancement New feature or request label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant