-3

I have .bat script file that contains commands like these:

call %CONAN_BAT% install cmake/3.21.1@thirdparty/stable -g=virtualenv -if "%BUILD_DIR%" -pr vs2010

Even with google I failed to figure out what anything besides the call command and the variables %CONAN_BAT% and %BUILD_DIR% mean. Everything else I cannot find any resource on.

install cmake/3.21.1@thirdparty/stable at least is kinda self explanatory but I still do not know why it works as I can find no install command for batch scripts. The remaining options(?) -g, -if and -pr with their corresponding values are completely lost on me.

Can anyone explain to me what is going on and maybe link me a resource where shorthand options like these are explained?

Dennix
  • 115
  • 1
  • 10
  • 1
    The install command has nothing to do with anything `cmd` related. `%CONAN_BAT%` is a paramater that contains the path to another `batch-file`. That batch-file then accepts paramaters, one being `install` another `-g` etc. Find that batch file and you will see what it does. – Gerhard Oct 25 '22 at 07:53

1 Answers1

1

A search for conan install returns a link to conan documentation with descriptions of all parameters.

Gerhard
  • 22,678
  • 7
  • 27
  • 43
OJBakker
  • 602
  • 1
  • 5
  • 6