Trigger cmake generate when new file is added
Answered
Hi,
My project is using a file(GLOB_RECURSE..) to add source and header files to the project.
When a new file is added, unless cmake is manually refreshed, the new file will not be compiled
Is there a way to trigger make generate (refresh):
- When new files are added? I've tried using file watchers without any luck
- Before each build?
Please sign in to leave a comment.
Hello!
Currently the only solution is to manually reload project. Feel free to comment or upvote https://youtrack.jetbrains.com/issue/CPP-1369.