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

Cmake add_compile_options, add_link_options #415

Open
katajakasa opened this issue Nov 8, 2021 · 0 comments
Open

Cmake add_compile_options, add_link_options #415

katajakasa opened this issue Nov 8, 2021 · 0 comments
Labels

Comments

@katajakasa
Copy link
Member

Instead of appending to CMAKE_C_FLAGS_* direcly, we should use add_compile_options, add_link_options and target_compile_definitions functions from cmake. This way stuff like cross compiler options would remain.

Alternatively, it might be worth it to look into meson for building things. It seems to be more sane.

@katajakasa katajakasa added the bug label Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant