Closed RicoP closed 7 years ago
filter
does affect the state of removefiles
, as it does with almost all API calls. filter
will remain active until you call filter
, configuration
(not configurations
), project
or workspace
/solution
. You can read more about the filter
command here and here.
As for resolving your issue, either specify the removefiles
before filter
or add filter {}
once you no longer wish to filter. For example:
filter "configurations:Release"
links ( { "opengl32", "xinput9_1_0", "sfml-system", "sfml-window", "sfml-graphics" } )
filter {}
Ok, thank you very much.
I had one project configured like that
I wanted to remove the files "bez/systems/menusystem.h" and "bez/systems/menusystem.cpp" so I added
to the end of the project, but the two files where still there.
After some tinkering I added the removefiles command right after the files command which then removed the two files as I wanted it to be.
Correct code:
so apparently filter , includedirs or links affect the state of removefiles. Is that the intended behaviour or is this a bug?