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"

Additional Linker Flags

Hi! I'm developing crossplatform plugin with thirdparty libs and frameworks for UE4 and got some problems. I can't get how can i set additional linker flag from plugin ("-ObjC") and also set additional plist keys. There is no anything about this in official documentation so i got confused with this.

Does anybody know ow i can do that?

Product Version: UE 4.12
Tags:
more ▼

asked Jul 30 '16 at 03:15 PM in C++ Programming

avatar image

NazarKozak
1 1 1

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

2 answers: sort voted first

You need to configure that in OutLinkEnvironmentConfiguration in SetupGlobalEnvironment function of *.Target.cs build script of your module, here you have example:

https://github.com/EpicGames/UnrealEngine/blob/dff3c48be101bb9f84633a733ef79c91c38d9542/Engine/Source/Programs/UnrealCodeAnalyzer/UnrealCodeAnalyzer.Target.cs#L49

Just use Link insted of CPP

more ▼

answered Jul 30 '16 at 03:37 PM

avatar image

Shadowriver
37.3k 936 172 1116

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

You don't need to use '-ObjC' for other linker flags since 4.11. At UnrealEngine/Engine/Source/Programs/UnrealBuildTool/IOS/IOSToolChain.cs line 488, you can see 'Result += " -ObjC";'. Don't waste you time like me :(

more ▼

answered Jun 21 '17 at 07:51 AM

avatar image

famous90
1

(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