Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Defined Symbols #99

Open
BradleySmall opened this issue Nov 8, 2019 · 2 comments
Open

Defined Symbols #99

BradleySmall opened this issue Nov 8, 2019 · 2 comments

Comments

@BradleySmall
Copy link

Working on a cross platform project, it would be nice to set "Advanced Command Line Arguments" at the top level (Window|Preferences) to match the local installed environment. For example:

-D'x86_64=1' -D'__linux=1' -D'__unix=1' -D'_POSIX_C_SOURCE=200112L'

Must be set in each project, every time. These variables are already set in the Active Build Configuration. I would be happy to set these the same in all cases as cross compilation happens remotely, and the developer would not even have access to many of the otherwise references headers.

@AntonKrug
Copy link
Collaborator

You want to have global entry where you could configure this and then allow the project settings to take the global default?

Matching local environment will not work when targeting some remote/embedded cross-toolchain targets.

Maybe instead of a global, a per-configuration settings could be interesting? Not sure how much overhead it would create for users where they would have to configure it separately for each configuration in simple native projects.

@BradleySmall
Copy link
Author

BradleySmall commented Apr 24, 2020 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants