cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
VS 2012 Lib and DLL File Exported in Dif
VS 2012 Lib and DLL File Exported in Different Directories
Apr 3, 2014 at 9:07pm UTC
closed account (
N36fSL3A
)
Okay, so I have a program where I want to export the .lib file in a "Lib" folder, and the .dll file in the "bin" folder. How can I choose where the lib file and .dll file go?
Apr 3, 2014 at 10:52pm UTC
closed account (
N36fSL3A
)
bump
Apr 3, 2014 at 11:10pm UTC
naraku9333
(2163)
Use post build events, Project > properties > post-build-events.
Something like this might work
xcopy /y "$(OutDir)*.dll" "$(SolutionDir)bin\" xcopy /y "$(OutDir)*.lib" "$(SolutionDir)lib\"
Apr 3, 2014 at 11:33pm UTC
closed account (
N36fSL3A
)
Thanks!
Topic archived. No new replies allowed.