Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Vault Working Dir as Macro (https://www.kinook.com/Forum/showthread.php?t=1519)

ffletch 02-02-2006 08:28 AM

Vault Working Dir as Macro
 
I would like to have a macro available to use anywhere in a build that is the location of the files that have been pulled from my Vault server. Currently I have paths hard coded everywhere. Anyone have any ideas on how to get this info into a macro?

kinook 02-02-2006 10:27 AM

A few options:

1) Specify the path relative to the .bld file location, i.e.:
%PROJDIR%\Source

2) Add a project macro set to the desired value (on the Macros tab). This could be combined with #1 (i.e., create a project macro called SRC_DIR with a value of %PROJDIR%\Source, and then reference %SRC_DIR% everywhere it's needed).

3) Pass in the macro value on the command-line:
http://www.visualbuild.com/Manual?command_linegui.htm


All times are GMT -5. The time now is 10:50 AM.


Copyright © 1999-2023 Kinook Software, Inc.