This is a very incomplete list of how to configure eclipse environment to code, build and execute PowerDEVS models. It is AS IS, but might help. Please send any additional steps or feedback.
Enable building PowerDEVS models from eclipse
At the end create a new “build configuration” to be able to build from eclipse (PD must create the Makefile according to the editor conections):
Proyect --> Build Configuration --> Manage --> new
Set build location to the build folder inside PD. For exaple: ${workspace_loc:/tdaq-simulation/build}
C++11 support in Eclipse Kepler Service Release 1 (Build id: 20130919-0819)
In the latest release Eclipse Kepler SR1 you only have to add -std=c++11
Right click on your project and click Properties
Navigate to C/C++ General and Preprocessor Include Paths, Macros etc.
Select the Providers tab
Add -std=c++11 to Command to get compiler specs:
Apply changes, the Index should be generated automatically.
The "Command to get compiler specs:"-line should look like:
${COMMAND} -E -P -v -dD "${INPUTS}" -std=c++11
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is a very incomplete list of how to configure eclipse environment to code, build and execute PowerDEVS models. It is AS IS, but might help. Please send any additional steps or feedback.
Cheers
Enable c++11 support
Enable building PowerDEVS models from eclipse
At the end create a new “build configuration” to be able to build from eclipse (PD must create the Makefile according to the editor conections):
C++11 support in Eclipse Kepler Service Release 1 (Build id: 20130919-0819)
In the latest release Eclipse Kepler SR1 you only have to add -std=c++11
The "Command to get compiler specs:"-line should look like:
${COMMAND} -E -P -v -dD "${INPUTS}" -std=c++11