On 16. Jul, 2009, at 16:17, Bill Hoffman wrote:
Michael Wild wrote:
Actually, I'm planning on doing this with the .def files. But then,
maintaining them might also become a nightmare.
You can generate them if you use dumpbin and some scripting....
But, it is much easier to just use the declspec stuff....
-Bill
Only thing is, how do I find the files which need exporting/importing?
I have 5000 source/header files, many of which do not export a single
symbol, because they contain pure template code.
Probably I'll do some scripting (at least for the first conversion)
which searches through all the .obj files and uses dumpbin to
determine whether the corresponding source file exports something.
Then I could try to demangle the name and print it along with the
source file name into a file.
Michael
_______________________________________________
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