mmm, I'm not very familiar with CMakeFiles.txt

But I'm guessing that this is what creates the file in question?

add_custom_command(

OUTPUT ${GNC_WARNINGS_H}

DEPENDS ${WARNINGS_SCHEMA} make-gnc-warnings-h.xsl

COMMAND

${LIBXSLT_XSLTPROC_EXECUTABLE} -o ${GNC_WARNINGS_H} ${CMAKE_CURRENT_SOURCE_DIR}/make-gnc-warnings-h.xsl ${WARNINGS_SCHEMA}

)

Thanks for the info!
J.
On 5/3/2020 11:36 AM, John Ralls wrote:

On May 3, 2020, at 10:24 AM, jeanl <rip...@gmail.com> wrote:

Devs, can you explain this to me? I'm completely confused about it.
Where is *gnc-warnings.h* supposed to be?
On my system it's here:

build_xcode/gnucash/gnome-utils/gnc-warnings.h

But build_xcode is generated, and not under git. I can't find it anywhere in
the src tree... So I really don't understand what's going on? I don't seem
to have deleted it as git does not say so.

So, is that a file that's automatically generated?
I see this in git:
gnucash/gnome-utils/make-gnc-warnings-h.xsl
Is that how gnc-warnings.h is generated? Based on
gnucash/gschemas/org.gnucash.warnings.gschema.xml.in?

https://github.com/Gnucash/gnucash/blob/maint/gnucash/gnome-utils/CMakeLists.txt#L11

Regards,
John Ralls



_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to