# RunUAT Build Using Different Plugins and Preprocessor Defines

**URL:** <https://forums.unrealengine.com/t/runuat-build-using-different-plugins-and-preprocessor-defines/484034>\
**Category:** Platform & Builds\
**Tags:** command-line, oculus-vr, unreal-engine, question, steamvr-development\
**Created:** [May 28, 2021, 6:01am UTC](https://forums.unrealengine.com/t/runuat-build-using-different-plugins-and-preprocessor-defines/484034 "2021-05-28T06:01:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oatssss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Oatssss](https://forums.unrealengine.com/u/Oatssss)\
**Post date:** [May 28, 2021, 6:01am UTC](https://forums.unrealengine.com/t/runuat-build-using-different-plugins-and-preprocessor-defines/484034/1 "2021-05-28T06:01:48Z")

</div>

I’d like to setup a CI pipeline with Jenkins. I believe I need to package the game from the command line using RunUAT.bat.

I haven’t been able to figure out a good way to support different platform configurations though. For example, I’d like to generate 2 builds for Windows: 1 for Oculus and 1 for Steam VR.

- For the oculus build, I’d like to _disable_ the SteamVR plugin.
- For the SteamVR build, I’d like to _enable_ the SteamVR plugin as well as define a preprocessor macro that will enable SteamVR specific code.

How would I do this? Is this the correct approach if I want to support both Oculus and SteamVR?

---

<div class="post-metadata">

**Author:** ![Oatssss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Oatssss](https://forums.unrealengine.com/u/Oatssss)\
**Post date:** [May 28, 2021, 6:47am UTC](https://forums.unrealengine.com/t/runuat-build-using-different-plugins-and-preprocessor-defines/484034/2 "2021-05-28T06:47:51Z")

</div>

I have a partial answer. It looks like I can duplicate the .uproject file and set the enable flag for the plugin there. For example, I’d have a `MyProject.Oculus.uproject` and a `MyProject.SteamVR.uproject` and the only difference is that for the Oculus project I disable the SteamVR plugin. Then I can just pass the correct .uproject to `RunUAT.bat`.

I still don’t know how to pass preprocessor definitions though.
