How to remove files from a Workbench generated HAL project.
Hi,
There is two easy ways to avoid source code to be compiled:
- Just delete the source file from your project
- Mark the file (or a complete directory) as not to be compiled, if you want to keep it for reference, by
- file (or folder) >> Properties >> C/C++ Build >> Exclude Resource from build
- Then the file (or folder) should be listed at the end of the files (or folders) list, grayed and its icon barred by a slash:
- file (or folder) >> Properties >> C/C++ Build >> Exclude Resource from build
Bernard