# Cpp files without precompiled header

**URL:** <https://forums.unrealengine.com/t/cpp-files-without-precompiled-header/340331>\
**Category:** C++\
**Tags:** unreal-engine, ubt, UE4, question, CPP\
**Created:** [December 2, 2015, 6:57pm UTC](https://forums.unrealengine.com/t/cpp-files-without-precompiled-header/340331 "2015-12-02T18:57:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lectem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lectem](https://forums.unrealengine.com/u/Lectem)\
**Post date:** [December 2, 2015, 6:57pm UTC](https://forums.unrealengine.com/t/cpp-files-without-precompiled-header/340331/1 "2015-12-02T18:57:45Z")

</div>

I browsed the UBT documentation and a few posts around, but couldn’t find enough information.

I’d like to use some cpp files that don’t need any reflection from unreal, and don’t really need any precompiled header.  
I saw that it is possible to add those as “thirdparties” but it really is just a simple cpp file needed by some of my gameplay classes.

As it is something that I made kind of generic, and would like to reuse it in other projects, I don’t want to add UE specific dependencies.  
Is there no way to do this without actually adding a new module that builds a static library ?  
Ideally it should just be linked into the game .dll and call it a day.
