Book a Demo

Author Topic: Excluding source code from synchronization  (Read 3398 times)

Mark Story

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Excluding source code from synchronization
« on: December 22, 2011, 12:15:42 am »
I have some low level classes I am adding to my VS 2010/C# project that I do not want to reverse engineer into my EA Model. But, I have other classes in the same source file that I do want to synchronize.

Is there any way to do this?
Thanks,
Mark

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Excluding source code from synchronization
« Reply #1 on: December 22, 2011, 08:19:43 am »
Not an elegant way...

You can however use preprocessor macros because EA always takes the first branch.

Code: [Select]
#ifdef something_undefined
#else

// Code you don't want EA to see.

#endif