Compiler options for DLL
Posted: Tue Jul 10, 2012 2:06 pm
Hello,
I want to create a dll and its def file using as Compiler Options in the project stettings:
The dll is created, but not the def file.
After this, I need a second run to remove the exports decorations with
The decorations are not removed.
Please give me advise how to pass these options correctly.
Another question is, how to perform the second run with the different option after the first without changing the options manually every time.
Changing the options does not force CodeLite to do a new linking, because the sources are unchanged.
How can I force a new run without changing the source?
Thank you,
Fred
I want to create a dll and its def file using as Compiler Options in the project stettings:
Code: Select all
-shared;-s;-Wl,--subsystem,windows,--output-def,testDll.def
After this, I need a second run to remove the exports decorations with
Code: Select all
-shared;-s;-Wl,--subsystem,windows,--kill-at
Please give me advise how to pass these options correctly.
Another question is, how to perform the second run with the different option after the first without changing the options manually every time.
Changing the options does not force CodeLite to do a new linking, because the sources are unchanged.
How can I force a new run without changing the source?
Thank you,
Fred