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

Modify CMakeLists #34

Open
FoxEdit opened this issue Jul 15, 2024 · 0 comments
Open

Modify CMakeLists #34

FoxEdit opened this issue Jul 15, 2024 · 0 comments

Comments

@FoxEdit
Copy link

FoxEdit commented Jul 15, 2024

It would be cool to be able to also add created files to CMakeLists.txt (since it is the most modern build system).
For example, if an executable application is created, it would edit add_executable to add the created .h/.cc there, or other ways to add itself to the build configuration.

Simplest example of an idea:

add_executable(project 
    main.cc
)

to

add_executable(project 
    main.cc
    newClass.h
    newClass.cc
)

This can be made an optional and customizable option (e.g., if creating a library rather than an executable application)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant