Notes |
|
(0035940)
|
Brad King
|
2014-05-27 08:48
|
|
|
|
(0035945)
|
Saad
|
2014-05-27 16:04
|
|
It does not seem to be working (see StaticLibLTCG.7z) - tested with VC++ 2010 and 2013.
Perhaps I am not using it properly? |
|
|
(0035946)
|
Brad King
|
2014-05-27 16:18
|
|
You can't set the CMAKE_STATIC_LINKER_FLAGS_RELEASE variable before the project() command. The toolchain initialization done by that command creates the cache entry of the same name, and that unsets the local variable. The cache entry is supposed to be something that the local user can modify. If you want to add something beyond the user-specified value you can do
set(CMAKE_STATIC_LINKER_FLAGS_RELEASE "${CMAKE_STATIC_LINKER_FLAGS_RELEASE} -my-flag")
after the project() command. |
|
|
(0035947)
|
Saad
|
2014-05-27 16:23
|
|
Thanks Brad, that worked. |
|
|
(0035948)
|
Brad King
|
2014-05-27 16:24
|
|
Great, thanks for reporting back.
|
|
|
(0037143)
|
Robert Maynard
|
2014-11-03 08:38
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|