MantisBT - CMake
View Issue Details
0004239CMakeCMakepublic2006-12-21 04:122007-02-01 12:01
Yianis Nikolaou 
Bill Hoffman 
lowmajoralways
closedfixed 
 
 
0004239: Linker parameters do not work as expected in VS2005
The linker parameters do not work in VS2005 as they did in VS6. For example the following statement

SET(CMAKE_EXE_LINKER_FLAGS /NODEFAULTLIB:LIBC;LIBCMT;MSVCRT)

Works perfectly in VS6 but in VS2005 it is only displayed in the [Project Properties/Linker/Command Lie/Additional options] and not in its proper position at [Project Properties/Linker/Input/Ignore Specific Library]
No tags attached.
related to 0005455closed Brad King CMake 2.4.7 doesn't preserve LINK_FLAGS properly in VS8 projects 
Issue History
2007-08-29 13:24Brad KingRelationship addedrelated to 0005455

Notes
(0006062)
Bill Hoffman   
2007-01-02 11:16   
Does it still function correctly?
(0006158)
Bill Hoffman   
2007-01-11 21:03   
Fixed in CVS.
Checking for path: /cvsroot/CMake/CMake/Source
Unrestricted user: hoffman
/cvsroot/CMake/CMake/Source/cmLocalVisualStudio7Generator.cxx,v <-- cmLocalVisualStudio7Generator.cxx
new revision: 1.157; previous revision: 1.156
/cvsroot/CMake/CMake/Source/cmLocalVisualStudio7Generator.h,v <-- cmLocalVisualStudio7Generator.h
new revision: 1.28; previous revision: 1.27

(0006305)
Brad King   
2007-02-01 12:01   
This change enables mapping of just plain /NODEFAULTLIB to ignore all default libs:

/cvsroot/CMake/CMake/Source/cmLocalVisualStudio7Generator.cxx,v <-- cmLocalVisualStudio7Generator.cxx
new revision: 1.162; previous revision: 1.161