x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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

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!

Product Version: UE 4.11
Tags:
more ▼

asked Apr 11 '16 at 09:15 AM in C++ Programming

avatar image

DVRQProgrammer
76 3 6 12

avatar image piurafunk Apr 26 '18 at 05:00 AM

This is a year old now, but I am also looking for the same thing. The docs to build the library i'm using say to use 'cmake' and 'make' to build them, and that works great alone, but I need the Engine to build them, so they're built in the same environment and settings (it's causing some problems when compiling a project in Windows vs Linux). Has anybody had success with this?

avatar image sterling.ja Jul 25 '18 at 07:22 PM

Same here...I need to build a non unreal (real?) source library from within the unreal build system. I and others are actively developing both the library and the unreal project so we need to get rid of the two step build process of building the libs manually first.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question