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 there a solution to link libraries according to other plugins status?

I want to link different libraries. They are all for android platform,but for different devices. Definitely,in order to develop for the specific device,I have to check another plugin. Is there a solution to do it?

Product Version: Not Selected
more ▼

asked Apr 26 '19 at 03:59 AM in C++ Programming

avatar image

3 1 3

avatar image KEATE- Apr 26 '19 at 04:03 AM

Or how can I get a boolean parameter from build.cs

avatar image Lardo Deepdelver Apr 26 '19 at 10:57 AM

the only thing I can think of is that you can get defines out of build.cs files

just as an example: in the build.cs use

 if (Target.Type == TargetRules.TargetType.Server)

in the c++

    Do server stuff

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

1 answer: sort voted first

UE4 already provides definitions for that, UE_SERVER and platform specific like PLATFORM_ANDROID

modules also have more types then just Editor and Runtime, there ServerOnly and ClientOnly too

also there WhitelistPlatfrom option allowing to make modules build only on specific platform here example from oculus:

 "Modules": [
         "Name": "OculusHMD",
         "Type": "Runtime",
         "LoadingPhase": "PostConfigInit",
         "WhitelistPlatforms": [
more ▼

answered Apr 26 '19 at 10:44 PM

avatar image

35.9k 928 169 1105

avatar image Lardo Deepdelver Apr 27 '19 at 07:06 AM

But how would you use that for adding removing different plugins for different android devices?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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