Is it possible to build 3rd party lib as a part of project build process?

anonymous_user_e6f4d80a
Mon, 11 Apr 2016 09:15:08 +0000
Platform & Builds

Hello,

Is it possible to build the 3rd party lib from sources as a part of project build (as opposite to using of pre-build binaries) ? After a lot of digging into the UE sources, Wiki, Answer hub and examples we were unable to get the clear and final answer on this question.

So far it seems that in 100% of cases the common approach is to build 3rd party library separately and then use it in UE project solely as a precooked binaries (providing necessary header files). For many reasons we are not happy with such approach and seeking for ability to build 3rd party lib from sources as a part of normal project build process.

Some notes:

1. This is a C library. Does the Unreal Build Tool even aware of C sources (*.c) ?

2. We want to preserve the library sources folders structure and don’t want to use UE’s Private/Public layout for library. There are “src” folder for sources, “include” folder for headers. So it could be simply get from VCS directly, with no further preparations. Is it possible to use custom [arbitrary] source folder layout ?

There are some questions like this was already asked, but no one was provided with clean and straightforward answer with full details. So it would be nice to hear real final answer from UE team.

Thanks in advance!

3 posts - 1 participant