Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

Configure_IDE.wiki

Serge Camille edited this page Aug 24, 2015 · 1 revision

Eclipse

Setting up Eclipse as IDE with MinGW

  • Get Eclipse C++ from http://www.eclipse.org/downloads/ and start it
  • Run File -> Import -> Git -> Projects from Git
  • Choose URI as Source and add https://code.google.com/p/simulationcraft-swtor/ to the URI-field
  • Choose the branches you want to checkout ( master branch is enough to get you started ) and the folder the project should be saved at
  • Proceed and choose "Import as General Project", specify the projectname and your finished

Converting the Project to a C/C++ Project

  • Right-click on your created project -> New -> Convert to a C/C++ Project.
    • Choose C++ Project
    • Project Type: Makefile Project, and Select MinGW toolchain

Adjusting the builder

  • Go to Project -> Properties -> C/C++ Build
    • In Builder Settings adjust the Build Directory to workspace ->

<projectname>

-> /engine

Configuring the Code Scanner ( C++11 )

  • Go to Project -> Properties -> C/C++ Build -> Settings -> Tool Settings -> GCC C++ Compiler -> Miscellaneous -> Other Flags. Add "-std=gnu++0x" to it.
  • Go to Project -> Properties -> C/C++ General -> Paths and Symbols -> Symbols -> GNU C++. Click "Add..." and paste "__GXX_EXPERIMENTAL_CXX0X__" (ensure to append and prepend two underscores) into "Name" and leave "Value" blank.

Tips and Tricks

  • You can set a additional PATH variable for a builder in Eclipse. Go to the build configuration -> Environment add a new variable ( name=PATH Value=C:\Mingw\bin ). This is handy if you do not have MinGW in your Windows PATH, or don't want to.