problem with .exp and .lib file generation path.
-
I have a simple MFC Appwizard exe application. I specify the "Release" directory for intermediate files and output files. However I specify altogether different directory,say "OutPut", for output .exe file. and I want that only .exe file should be be generated in this directory. However I observe that .exp file and .lib file are also generated at the same location as the .exe file. I could not find any option in project settings for specifying the path for .exp and .lib file. This problem doesn't arise if its Appwizard dll. How can one solve this issue. Thanks! Suyash
-
I have a simple MFC Appwizard exe application. I specify the "Release" directory for intermediate files and output files. However I specify altogether different directory,say "OutPut", for output .exe file. and I want that only .exe file should be be generated in this directory. However I observe that .exp file and .lib file are also generated at the same location as the .exe file. I could not find any option in project settings for specifying the path for .exp and .lib file. This problem doesn't arise if its Appwizard dll. How can one solve this issue. Thanks! Suyash
Here's one way you could do it Open the project properties and go to Configuration Properties->Linker->General. Then set "Output File" to $(ProjectDir)OutPut/$(ProjectName).exe
-
Here's one way you could do it Open the project properties and go to Configuration Properties->Linker->General. Then set "Output File" to $(ProjectDir)OutPut/$(ProjectName).exe
-
So just to be clear here are the settings I'm using to get this to work (for the Release configuration) Configuration Properties->General Output Directory = Release Intermediate Directory = Release Configuration Properties->C/C++ Object File Name = $(IntDir)/ Configuration Properties->Linker->General Output File = $(ProjectDir)OutPut/$(ProjectName).exe Is that what you're using?