Book a Demo

Author Topic: importing C++ libraries  (Read 3260 times)

Don Wilde

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
importing C++ libraries
« on: December 15, 2011, 10:59:32 am »
Where is it documented how I add C++ standard libraries to my system? I would rather not have to generate std::vector, std::list, etc myself. I did search on a number of items, but found nothing useful. TIA!

SomersetGraham

  • EA User
  • **
  • Posts: 376
  • Karma: +1/-0
    • View Profile
Re: importing C++ libraries
« Reply #1 on: December 15, 2011, 08:45:20 pm »
Hello
What I have done is
Create a package to contain the library classes
Create a diagram under this package
Use Tools->Source Code Engineering->Import c++ files

Good luck

Graham
Using V12

Don Wilde

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: importing C++ libraries
« Reply #2 on: December 18, 2011, 11:07:38 am »
Thank you, Graham. That helps, especially in the more general case of importing libraries like Boost.

My architect also suggested that I simply switch into the source code in VS and add the #include and attribute manually, so that when EA synchronizes, it just identifies the vector as an externally referenced class. :D