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

stop using CMAKE_CXX_FLAGS for setting compile options #1602

Closed
cz4rs opened this issue Nov 5, 2021 · 0 comments · Fixed by #1613
Closed

stop using CMAKE_CXX_FLAGS for setting compile options #1602

cz4rs opened this issue Nov 5, 2021 · 0 comments · Fixed by #1613

Comments

@cz4rs
Copy link
Contributor

cz4rs commented Nov 5, 2021

What Needs to be Done?
Specify compile options per target instead of using global CMAKE_CXX_FLAGS variable (see cmake-modules/SetCXXCompilerFlags.cmake as the main offender).

Preferred solution is to use target_compile_options command (which can specify INTERFACE|PUBLIC|PRIVATE keywords).

Is your feature request related to a problem? Please describe.
Using CMAKE_CXX_FLAGS can affect applications built on top of vt.

@cz4rs cz4rs self-assigned this Nov 5, 2021
cz4rs added a commit that referenced this issue Nov 12, 2021
cz4rs added a commit that referenced this issue Nov 15, 2021
cz4rs added a commit that referenced this issue Nov 17, 2021
cz4rs added a commit that referenced this issue Nov 18, 2021
cz4rs added a commit that referenced this issue Nov 18, 2021
cz4rs added a commit that referenced this issue Nov 19, 2021
cz4rs added a commit that referenced this issue Nov 19, 2021
cz4rs added a commit that referenced this issue Nov 19, 2021
cz4rs added a commit that referenced this issue Nov 19, 2021
cz4rs added a commit that referenced this issue Nov 23, 2021
cz4rs added a commit that referenced this issue Nov 23, 2021
cz4rs added a commit that referenced this issue Nov 23, 2021
cz4rs added a commit that referenced this issue Nov 23, 2021
cz4rs added a commit that referenced this issue Nov 23, 2021
cz4rs added a commit that referenced this issue Nov 23, 2021
cz4rs added a commit that referenced this issue Nov 24, 2021
…ler-flags

#1602: stop using CMAKE_CXX_FLAGS for setting compile options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant