PMunch/futhark

How to specify the value of "define" ?

dinau opened this issue · 2 comments

dinau commented

For instance this is error,

import futhark:
  syspath fooPath
  path barPath
  define MY_DEFINE=3
  define DIMGUI_IMPL_API="extern \"C\" __declspec(dllexport)"

How to define the value of "define" ?

PMunch commented

Define currently only takes a string, so to define a value like this you would need to do:

define "MY_DEFINE=3"
dinau commented

Thank you very much !.