Closed luizfernandonb closed 7 months ago
Which generator do you use?
as .w
is not a known extension, I expect none of the generator run anything for it.
You might create project for this directory with kind "None"
.
Which generator do you use? as
.w
is not a known extension, I expect none of the generator run anything for it.You might create project for this directory with
kind "None"
.
VS2022
@Jarod42 Will I have to create two projects, one to actually compile the files and another to just edit? Isn't there the possibility of being just one?
You filter is simply wrong.
filter {"files:" .. PRJ_GROUP .. "/**.*"}
buildaction "None"
filter {} -- reset filter
Especially /
instead of \\
.
Once done correctly, in file property, its "item type" would be "Does not participate to build".
Notice that buildaction
might only be supported by vs*
actions, whereas project of kind "None"
is supported by more generators.
As alternative to buildaction "None"
, there is flags { "ExcludeFromBuild" }
(which is better supported by other generators).
Created #2169 to better support buildaction "None"
.
What's your question? I have these files from the screenshot below that I want to add to the project, but I don't want to compile them, what I want to compile is in another folder, is this possible to do? I looked in the documentation and didn't find anything![image](https://github.com/premake/premake-core/assets/42288418/e76c493f-0f07-4351-b1f9-f6df094d0b0e)
What I tried was this, but it didn't change anything![image](https://github.com/premake/premake-core/assets/42288418/d1986d34-15d2-40dd-a39a-a7400f31df30)