GNOME Bugzilla – Bug 686148
[patch] suggested parameters for gtkdoc-scangobj
Last modified: 2013-05-31 11:54:48 UTC
recently added changed a software project i work on to use cmake. while doing so i discovered cmake can't export environment variables, so i had to make a hack to be able to pass cflags and ldflags to gtkdoc-scangobj. it would be nice if you could add --cflags= and --ldflags= parameters to gtkdoc-scangobj so that compiler flags can be passed on the command line.
How about fixing cmake instead ?
I don't think anyone can accuse me of liking cmake... But still the passing of some arguments by environment variables instead of actual command line arguments has always struck me as odd.
Created attachment 226514 [details] [review] Implement the parameters. If parameter is given it overrides setting from environment variable, otherwise the environment variable is used. The change is simple and does not break current scripts.
Sounds reasonable. Could you please re-attach the patch in git format (git format-patch origin/master).
Created attachment 245673 [details] [review] Add support for CMake. Here you have a new patch, submitted in the requested fashion.
Comment on attachment 245673 [details] [review] Add support for CMake. Thanks.