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

Refactor sources to make easier to compile with other build systems #210

Open
1 of 4 tasks
edubart opened this issue Mar 25, 2024 · 0 comments
Open
1 of 4 tasks

Refactor sources to make easier to compile with other build systems #210

edubart opened this issue Mar 25, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@edubart
Copy link
Collaborator

edubart commented Mar 25, 2024

Context

People may want to bundle libcartesi in other projects and may need to use other build systems, the problem is that we have some generated files that can only be generated in our Makefile build system. We should refactor our sources in a way that at least libcartesi is easy to build with other build tools (e.g CMake, node-gyp, etc).

Subtasks

  • Make machine-c-version.h available in the source tarball.
  • Create an include directory in src, to make easy to just copy include headers.
  • Simplify and make some defines non mandatory to make more difficult to do mistakes when compiling with other build systems
  • Provide a small CMakeLists.txt project (optional to use and focusing on libcartesi only)
@edubart edubart added the enhancement New feature or request label Mar 25, 2024
@edubart edubart self-assigned this Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant