[Cmake] stripping repeated link directories and libraries from each makefile.
Bill Hoffman
bill.hoffman at kitware.com
Fri Jul 27 11:16:00 EDT 2001
1.
I guess we could change cmMakefile:
std::vector<std::string> m_LinkDirectories;
To be a std::set<std::string>, I don't see why link directories would
need to be repeated or kept in an order.
2. A twice repeated list is not enough in some cases.
In fact, to guarantee a static link, you have to repeat N libraries
N times. So, some list files may repeat libraries intentionally.
-Bill
At 11:54 AM 7/27/2001 +0100, Ian Scott wrote:
>I am considering
>1) reducing the library link directories list in each cmMakefile to a list
>of unique directories before output to the dsp file.
>2) reducing the library list in each cmMakefile to a twice repeated list of
>unique libraries before output to the dsp file.
>A small experiment suggests that both the number of link directories and
>number of linked libraries in each dsp file has a significant effect on the
>project loading time in MSVC++.
>
>Whilst I can't see any problem with going ahead with 1, other's may find the
>current full list of libraries to be useful.
>
>Any comments?
>
>Ian.
>
>
>
>
>
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake
More information about the CMake
mailing list