Hi,
I'm trying to link my project on Windows. Part of the task is constructing a
big archive. Relevant compilers: Intel C/C++, Intel Fortran, Microsoft VS 2005
SE SP1.
Apparently the link line is too long (expanded command line lib bla too long).
I have attempted to circumvent it with:
# create a C++ static library
#SET(CMAKE_CXX_CREATE_STATIC_LIBRARY "lib ${CMAKE_CL_NOLOGO} <LINK_FLAGS>
/out:<TARGET> <OBJECTS> ")
SET(CMAKE_CXX_CREATE_STATIC_LIBRARY "lib ${CMAKE_CL_NOLOGO} <LINK_FLAGS>
/out:<TARGET> ${CMAKE_START_TEMP_FILE} <OBJECTS> ${CMAKE_END_TEMP_FILE} ")
according to http://www.itk.org/Bug/view.php?id=7217 - but cmake doesn't fill
in the link flags. Is Bill's suggestion to patch Windows-cl.cmake the fix, or
is it fix otherwise?
Regards,
Arjen
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake