Excluding some files from build in makefile

I have a project that has some files (a couple of libraries) only intended to be part of the project in the Windows branch, and they cause errors when building on Linux.

In Visual Studio it is easy to include/exclude specific files or folders from the project, but how to do this on Linux? My project uses VS Code and builds with makefile, I suppose something has to be changed in compile.project.mk… any hint?


in the config.make for your project there’s a variable PROJECT_EXCLUSIONS that you can set to exclude whatever files or directories you want. there’s some documentation in the config.make file itself in the form of comment


Thank you. It worked like a charm :slight_smile: