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"

Difference Between Project.Build.cs and Project.Target.cs

I was hoping that someone could tell me the difference between the build.cs files and the target.cs files. I usually work out of the build.cs files, but with UE4.16 comes the new ReadOnlyTargetRules. When I work with plugins, I usually put my "bForceEnableExceptions = true" here, but can no longer do that. I now have to add it to the Target.cs file and am not sure what the difference even is. This cripples my plugin. If I knew what the difference between the two files are, then it will help me come up with a better solution for future plugins.

Also, on a side question, can I put a target.cs file in my plugin folder, or am I stuck using MyProjects.target.cs?

Product Version: UE 4.16
more ▼

asked Jul 14 '17 at 12:02 AM in C++ Programming

avatar image

ENiari Games
66 4 8 12

avatar image ENiari Games Jul 14 '17 at 06:18 AM

Tried adding a target.cs file to my plugin, but it caused it to throw UBT build errors.

avatar image FilAl Oct 18 '17 at 02:33 PM

Any luck figuring this out?

(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