It's a linker flag, so for a target of "MyTarget" use:
set_target_properties(MyTarget PROPERTIES LINK_FLAGS "/LTCG")
(I had to do this for this exact flag, so I know this should work)
Hope that helps,
Paul.
From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Sachin Gaikwad
lable to Windows Phone that Windows Store
supports (e.g. C++/XAML).
The code is at: https://github.com/paulannetts/CMake
Branches: vs11-multi-platform, windows-phone-8, wp8-runtime-component
Hopefully we can pool resources and come up with a good combined solution!
Paul Annetts.
-Original Mes