Closed hanseul1795 closed 4 years ago
I'm sorry it's not overly clear what you're wanting here, but I've tried to give replies for some of what you wanted:
WholeProgramOptimization
can be set via flags { "LinkTimeOptimization" }
.LocalDebuggerDebuggerType
can be set with debuggertype
.DebuggerFlavor
can be set with debugger
and you probably want these extra options.Generally, you can search the repo for the VS elements that you want to set and you'll usually find the API that's used. cfg.<something>
or prj.<something>
will usually mean there's an API called <something>
. For example, here is debugger
: https://github.com/premake/premake-core/blob/09ee8334933e3953d96070047512820730518cc1/modules/vstudio/vs2010_vcxproj_user.lua#L81-L95
@samsinsane
Thank you Samuel!
I had no idea where to search for the source code.
I'll close this question since I could search for it in the source code, Thanx again!
Hanseul
What are you trying to do? I'm trying to implement
.vcxproj
generation for vs 2015 and 2017.What problem are you having? I need to add and remove some of the flags in the
propertygroup
and in theitemgroup
to add
flags 1-
WholeProgramOptimization
2-LocalDebuggerDebuggerType
3-DebuggerFlavor
ItemGroup
to remove(flags)
1-
ImportLibrary
inItemDefinitionGroup/Link
What have you tried so far?
tried to use
flags
to add those flags but it's not recognized. and forremoving flags
andNone
in itemgroup, I could not find anything on google.What version of Premake are you using?
premake5 --alpha