c3c project.json supports having array of exec functions in, but currently the type of targets can only be static-lib or executable, so the compiler shows some errors when trying to use only exec: [] target
Would it make sense to accept empty or exec type parameter there and the compiler would just run exec commands then ?
I didn't think about it, but yes, it makes sense that there would be a target type that doesn't do anything (doesn't compile anything but runs exec etc)
c3c
project.json
supports having array of exec functions in, but currently the type of targets can only bestatic-lib
orexecutable
, so the compiler shows some errors when trying to use onlyexec: []
targetWould it make sense to accept empty or exec
type
parameter there and the compiler would just run exec commands then ?Example
project.json