Moving the request in STR#2521 to modify the fltk*dll projects to
build the .dll file directly into the fltk/lib directory..

OK, so as mentioned in the STR, I tried changing the "Output filename"
for one of the dll libs:

 FROM: Debug/fltk_formsdll/fltk_formsdlld.dll
   TO: ..\..\lib\fltk_formsdlld.dll

..and it worked in that the fltk_formsdlld.dll file ended up directly
in the lib dir, but a fat ol' .ilk file of the same name appeared there too.
(and by 'fat' I mean a 1.3MB file), eg:

# ls -la fltk_forms*
-rwxrw-rw- 1 99 99 11922000 Jan 25 10:56 fltk_formsd.lib
-rwxrw-rw- 1 99 99   852033 Jan 25 11:08 fltk_formsdlld.dll  <-- EXPECTED
-rwxrw-rw- 1 99 99  1315804 Jan 25 11:08 fltk_formsdlld.ilk  <-- NOT EXPECTED

It seems the VS6 compiler wants to put this ilk file in the same dir
as the DLL. This sounds like an 'incremental linker' file created by
our "/incremental:yes" flag in the linker settings.

Assuming we don't want the .ilk ending up in the dir, and want to leave
the incremental flag on, the other way to achieve this  would be to add
a post build command that copies the file to ..\..\lib, same as I currently
have for copying the dll to the test dir.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to