Skip to content

Modify CMakeLists #34

Description

@FoxEdit

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions