[Visual Studio] Add /LTCG flag via premake #1832
Unanswered
mrgoldengun
asked this question in
Q&A
Replies: 1 comment
-
I received a work around for this issue here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have a question about
flags { "LinkTimeOptimization" }
When I turned on this flag, the Visual Studio add
/GL
(Whole Program Optimization) and/LTCG:incremental
(Link Time Code Generation). How can I config/GL
and/LTCG
(without incremental) via premake? AFAIK, It seems we don't have an option to do that in premake.If I understand correctly,
/LTCG
is different from/LTCG:incremental
https://docs.microsoft.com/en-us/cpp/build/reference/ltcg-link-time-code-generation?view=msvc-170
Beta Was this translation helpful? Give feedback.
All reactions