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

Feature request: generate C header files into separate folder #845

Closed
pkissel opened this issue Jul 22, 2016 · 3 comments
Closed

Feature request: generate C header files into separate folder #845

pkissel opened this issue Jul 22, 2016 · 3 comments

Comments

@pkissel
Copy link

pkissel commented Jul 22, 2016

Hello,

First off, thanks for creating SCT. It is a very useful tool - much easier to use than other statechart tools such as Simulink.

I looked around in the documentation and on the boards and I didn't find any option for splitting the header files generated by the C code generator into a separate directory. The rationale for this use case is some developers prefer to keep C files and H files in separate folders. Of course it's easy to copy them but if there was option in the sgen file that would be great.

Thanks

Paul

@andreasmuelder
Copy link
Member

Hi Paul, thanks for your request, this would be a useful feature.
I schedule this for the upcoming Milestone.

@pkissel
Copy link
Author

pkissel commented Jul 25, 2016

Thanks Andreas

tkutz added a commit that referenced this issue Aug 10, 2016
…va code generator to make use of API target folder if it is set.
andreasmuelder added a commit that referenced this issue Aug 10, 2016
#845: Added apiTargetFolder to outlet feature. Adjusted C, C++ and Ja…
@tkutz
Copy link
Contributor

tkutz commented Aug 10, 2016

I added a further outlet parameter "apiTargetFolder" to specify where to generate header files (C / C++ generator) or interfaces (Java generator).

In case "libraryTargetFolder" is specified, headers/interfaces that are state machine model-independent get generated there.

Fixed with pull request #894

@tkutz tkutz closed this as completed Aug 10, 2016
BeckmaR pushed a commit that referenced this issue Dec 15, 2017
…va code generator to make use of API target folder if it is set.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants