# Automatic Build Tool does not create additional LIB

**URL:** <https://forums.unrealengine.com/t/automatic-build-tool-does-not-create-additional-lib/395544>\
**Category:** Platform & Builds\
**Tags:** build-tool, unreal-engine, external-reference, question\
**Created:** [June 7, 2017, 6:35am UTC](https://forums.unrealengine.com/t/automatic-build-tool-does-not-create-additional-lib/395544 "2017-06-07T06:35:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_2709d010](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2709d010](https://forums.unrealengine.com/u/anonymous_user_2709d010)\
**Post date:** [June 7, 2017, 6:35am UTC](https://forums.unrealengine.com/t/automatic-build-tool-does-not-create-additional-lib/395544/1 "2017-06-07T06:35:05Z")

</div>

I have a C++ unreal project in VS 2015 that uses two static LIBs. the libs are added to the UE solution after I generate the UE project files in the proper way.

I link the two libraries in the following way in my …Build.cs file:

```
        if (Target.Configuration == UnrealTargetConfiguration.Shipping)
        {
            PublicAdditionalLibraries.Add(@"C:/Data/Mikaboshi2/UnrealProjects/Client/x64/Shipping/NOGLibrary.lib");
            PublicAdditionalLibraries.Add(@"C:/Data/Mikaboshi2/UnrealProjects/Client/x64/Shipping/SHARED_DATA_LIBRARY.lib");
        }
        if (Target.Configuration != UnrealTargetConfiguration.Shipping)
        {
            PublicAdditionalLibraries.Add(@"C:/Data/Mikaboshi2/UnrealProjects/Client/x64/Development_Editor/NOGLibrary.lib");
            PublicAdditionalLibraries.Add(@"C:/Data/Mikaboshi2/UnrealProjects/Client/x64/Development_Editor/SHARED_DATA_LIBRARY.lib");
        }

```

this works OK in the DevelopmentEditor configuration. The UE build system creates the two libraries before the UE project and then links.

However when I create a shipping build from inside the editor with Files/PackageBuild the UE build tool only compiles the UE project, not my additional libraries.

When I compile shipping first from VS and then run the DevelopmentEditor build and do a package from there, it seems to work because it uses the two lib files that I built manually.

I want the autobuld tool to build these two libraries for me like it does when I run from VS. How can I do that?

Thanks

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2709d010](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2709d010](https://forums.unrealengine.com/u/anonymous_user_2709d010)\
**Post date:** [June 11, 2017, 5:58am UTC](https://forums.unrealengine.com/t/automatic-build-tool-does-not-create-additional-lib/395544/2 "2017-06-11T05:58:21Z")

</div>

Does anybody have an answer here?
