Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't set the path of generated C header (while compiling static or dynamic lib) #1718

Open
vssukharev opened this issue Dec 25, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@vssukharev
Copy link
Contributor

Steps to reproduce:

  1. Create project.json with the following content:
{
  "output" : "build",

  "targets" : {
    "mylib" : {
      "type" : "static-lib",
      "sources" : [ "main.c3" ],
    },
  },
}
  1. Create main.c3 with arbitrary content.
  2. Run command c3c build mylib.

This command will produce a header mylib.h in root dir. Of course, it would be better to generate everything into build, but also it would be essential to have option like --header-output, which represents the emitted header path.

@lerno lerno added Enhancement Request New feature or request Bug Something isn't working and removed Enhancement Request New feature or request labels Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants