r19127 - gnucash/trunk - Cutecash: Fix config.h creation by using the #cmakedefine feature of CONFIGURE_FILE.
Christian Stimming
cstim at code.gnucash.org
Thu May 6 07:40:55 EDT 2010
Author: cstim
Date: 2010-05-06 07:40:55 -0400 (Thu, 06 May 2010)
New Revision: 19127
Trac: http://svn.gnucash.org/trac/changeset/19127
Added:
gnucash/trunk/src/config.h.cmake.in
Modified:
gnucash/trunk/CMakeLists.txt
gnucash/trunk/src/CMakeLists.txt
Log:
Cutecash: Fix config.h creation by using the #cmakedefine feature of CONFIGURE_FILE.
Finally, config.h will only be re-created if anything has changed, thus
reducing re-compiling to a minimum. This was done with instructions from
http://www.cmake.org/Wiki/CMake:How_To_Write_Platform_Checks ; however,
more of those checks (like CheckFunctionExists etc) don't work as easily as
CheckHeaderExists, so I left it at that.
More information about the gnucash-patches
mailing list