Skip to content
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.

C code generator should allow to suppress generation of sc_types.h #191

Closed
nyssen opened this issue Nov 25, 2015 · 2 comments
Closed

C code generator should allow to suppress generation of sc_types.h #191

nyssen opened this issue Nov 25, 2015 · 2 comments
Assignees
Milestone

Comments

@nyssen
Copy link
Contributor

nyssen commented Nov 25, 2015

If generating multiple statecharts, sc_types.h gets generated multiple times. However, its contents is not dynamical w.r.t. to the concrete state machine, thus it would suffice to have it generated only once (to be specified via a genmodel parameter). It would also be helpful if the generation path for this file could be individually specified via a genmodel parameter in addition.

@nyssen
Copy link
Contributor Author

nyssen commented Dec 1, 2015

Alternatively it would be ok to specify a distinct output path for the static code parts (up to now only sc_types.h).

@nyssen nyssen self-assigned this Dec 1, 2015
@nyssen
Copy link
Contributor Author

nyssen commented Dec 1, 2015

I implemented general support for all code generators to specify a distinct output location for static (i.e. model independent) code. That is, the Outlet feature now provides support for an optional libraryTargetFolder and the C and Java code generators are adopted to evaluate this and generate their static code artifacts into the respective location. In contract to the default targetFolder, the libraryTargetFolder will not be overwritten or cleaned, so that manual adoptions can be made. Closing because all changes have been pulled into master.

@nyssen nyssen closed this as completed Dec 1, 2015
@terfloth terfloth modified the milestone: M24 - 2.6 RC1 Mar 30, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants