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"

Where is the ModuleRules class defined?

Hi Everyone,

I'm looking to make some changes to our Build.cs file to improve our build process, and I have been trying to find the definition of the ModuleRules class to no avail.

I've done a search in the Unreal Engine source directories, and looked through the wiki/docs/forums.

More specifically, I want to introduce behavior that checks if entries have been added to things like 'PublicIncludePaths' and 'Definitions' (via 'Definitions.Add(...)' etc) and perform different tasks based on that.

Can anyone point me to any documentation/source location for the ModuleRules class itself?

Thanks

Product Version: Not Selected
Tags:
more ▼

asked May 09 '14 at 10:58 AM in C++ Programming

avatar image

Milly01
89 11 14 19

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

You will find ModuleRules in "UnrealBuildTool\System\RulesCompiler.cs abstract class starting at line 68

more ▼

answered May 09 '14 at 11:28 AM

avatar image

Ehamloptiran
1.5k 49 9 59

avatar image Milly01 May 09 '14 at 11:50 AM

Thanks, Ehamloptiran. Exactly what I needed.

avatar image RotemS Feb 19 '17 at 05:10 PM

No longer true. It is now found in UnrealBuildTool/Configuration/ModuleRules.cs

avatar image FilAl Oct 19 '17 at 08:23 AM

תודה רותם Thank you very much! I would like to upvote your comment if it was possible. Please consider making it a separate answer.

(comments are locked)
10|2000 characters needed characters left
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