Replies: 1 comment
-
Not necessary an ideal solution, but a
would allow to have the message in prebuild step (So either run the given project or investigate on the generated solution)
Most documentation is not complete ;-)
I would say value from
I would say take a small project and check the generated solution. Some generator might be more appropriate/correct than others depending of your usage/knowledge. Common mistakes when debugging are "scope" (
|
Beta Was this translation helpful? Give feedback.
-
I am using premake for my project and one thing I find annoying is that it's hard to debug scripts or print values of tokens.
For example, how can I print the values of
%{cfg.system}
or%{cfg.architecture}
in order to understand what their values are?Also, the documentation seems incomplete about tokens. The only page about tokens is this. It lists a bunch of tokens without further explanations or examples. Let's look at
%{cfg.system}
for example. What values does it get for different platforms? I found in StackOverflow that it can bewindows
,linux
, ormacosx
. Are there more values such asios
,android
etc?I'd like to see further explanations about each token and more examples. I'd also like to have a way to print these values or debug premake scripts in general. Is there a way to achieve this that I am missing?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions