![]() |
How to customize the Output Directory in the Make VS2005 step?
Hi,
I have a question about updating the Output Directories in the Make VS steps. Let's say my VS projects have multiple configurations such as: Debug Release DebugMT ReleaseMT ....... I want to build my projects in ALL configurations. I want to have my outputs to be sorted out accordign to a configutation in which they were built: c:\WORK_ROOT\Debug\bin\ABC.dll c:\WORK_ROOT\Release\bin\ABC.dll c:\WORK_ROOT\DebugMT\bin\ABC_MT.dll c:\WORK_ROOT\ReleaseMT\bin\ABC_MT.dll is there a variable for Configuration? So I can specify my Output Directory as: %WORK_ROOT%\$Config\bin Does VisualBuildPro generate any variable which corresponds to a current building configuration ($Config) ? See attachment for more info. Thank you |
Something like
c:\WORK_ROOT\$(ConfigurationName)\bin in the Output directory field on the Project/Solution tab of the Make VS.NET action should work. http://www.kinook.com/VisBuildPro/Ma...olutiontab.htm http://msdn.microsoft.com/en-us/library/c02as0cs.aspx |
thank you.
the Output directory field on the Project/Solution tab works perfectly for me, very useful feature. I have another similar question. How do I do a similar thing to Librarian Output File? What I want to do, I want to replace in all .vcproj files : with In other words I want to keep developer's library file name but output into my desired location. To replace ".\debug\LibraryName.lib" with $(OutDir)\LibraryName.lib" What is the best way to do it? I don't see such ability in the Make VS steps. I tried the Write XML file (but it doesn't allow a replace operation) thank you |
1 Attachment(s)
See attached sample, and also see http://www.kinook.com/VisBuildPro/Manual/regex.htm for more help with regular expressions.
|
All times are GMT -5. The time now is 07:52 AM. |
Copyright © 1999-2023 Kinook Software, Inc.