On 2007-04-12 16:03-0400 Teodor Calin Hanchevici wrote:

Hi all,
I have this code and i use nmake generator:

SET_TARGET_PROPERTIES(${NAME} PROPERTIES
                     OUTPUT_NAME ${NAME}${VERSION}
                     LINK_FLAGS /nodefaultlib:LIBCMT.lib
                     LINK_FLAGS /nodefaultlib:MSVCRT.lib)

I am not sure, but I suspect you need to specify just one LINK_FLAGS
followed by a list, that is try

LINK_FLAGS /nodefaultlib:LIBCMT.lib /nodefaultlib:MSVCRT.lib)

or maybe even

LINK_FLAGS "/nodefaultlib:LIBCMT.lib;/nodefaultlib:MSVCRT.lib")

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________
_______________________________________________
CMake mailing list
[EMAIL PROTECTED]
http://www.cmake.org/mailman/listinfo/cmake
_______________________________________________
CMake mailing list
[EMAIL PROTECTED]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to